class Voog::MovedPermanently
Attributes
response[R]
Public Class Methods
new(response, hostname)
click to toggle source
Calls superclass method
# File lib/voog_api/error.rb, line 7 def initialize(response, hostname) @response = response super("#{hostname} is permanently redirected to #{response.headers['location'] if response}") end