Class: CMIS::Connection::RedirectLimitReached
- Inherits:
-
Faraday::Error::ClientError
- Object
- Faraday::Error::ClientError
- CMIS::Connection::RedirectLimitReached
- Defined in:
- lib/cmis/connection/follow_redirects.rb
Overview
Public: Exception thrown when the maximum amount of requests is exceeded.
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ RedirectLimitReached
constructor
A new instance of RedirectLimitReached.
Constructor Details
#initialize(response) ⇒ RedirectLimitReached
Returns a new instance of RedirectLimitReached.
13 14 15 16 |
# File 'lib/cmis/connection/follow_redirects.rb', line 13 def initialize(response) super "too many redirects; last one to: #{response['location']}" @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
11 12 13 |
# File 'lib/cmis/connection/follow_redirects.rb', line 11 def response @response end |