Exception: Simple::HTTP::TooManyRedirections
- Defined in:
- lib/simple/http/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from Error
#initialize, #request, #status, #verb
Constructor Details
This class inherits a constructor from Simple::HTTP::Error
Instance Method Details
#location ⇒ Object
52 53 54 |
# File 'lib/simple/http/errors.rb', line 52 def location response["Location"] end |
#message ⇒ Object
56 57 58 |
# File 'lib/simple/http/errors.rb', line 56 def "#{super}: too many redirections (latest to #{location})" end |