Exception: FTW::Agent::TooManyRedirects
- Inherits:
-
StandardError
- Object
- StandardError
- FTW::Agent::TooManyRedirects
- Defined in:
- lib/ftw/agent.rb
Overview
Thrown when too many redirects are encountered See also Configuration::REDIRECTION_LIMIT
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(reason, response) ⇒ TooManyRedirects
constructor
A new instance of TooManyRedirects.
Constructor Details
#initialize(reason, response) ⇒ TooManyRedirects
Returns a new instance of TooManyRedirects.
47 48 49 50 |
# File 'lib/ftw/agent.rb', line 47 def initialize(reason, response) super(reason) @response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
46 47 48 |
# File 'lib/ftw/agent.rb', line 46 def response @response end |