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
34 35 36 |
# File 'lib/simple/http/errors.rb', line 34 def location response["Location"] end |
#message ⇒ Object
38 39 40 |
# File 'lib/simple/http/errors.rb', line 38 def "#{super}: too many redirections (latest to #{location})" end |