class Contacts::TooManyRedirects
Constants
- MAX_REDIRECTS
Attributes
location[R]
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/contacts.rb, line 73 def initialize(response) @response = response @location = @response['Location'] super "exceeded maximum of #{MAX_REDIRECTS} redirects (Location: #{location})" end