class Voog::MovedPermanently

Raised when Voog API returns a 301 HTTP status code

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