class Middleman::Sitemap::Extensions::Redirects::RedirectResource

def binary?

def binary?
  false
end

def ignored?

def ignored?
  false
end

def initialize(store, path, target)

def initialize(store, path, target)
  @request_path = target
  super(store, path)
end

def metadata

def metadata
  @local_metadata.dup
end

def raw_data

def raw_data
  {}
end

def render(*)

def render(*)
  url = ::Middleman::Util.url_for(store.app, @request_path,
                                  relative: false,
                                  find_resource: true
  )
  if output
    output.call(path, url)
  else
    <<-END
      <html>
        <head>
          <meta http-equiv=refresh content="0; url=#{url}" />
          <meta name="robots" content="noindex,follow" />
          <meta http-equiv="cache-control" content="no-cache" />
        </head>
        <body>
        </body>
      </html>
    END
  end
end

def template?

def template?
  true
end