Exception: ThreeScale::API::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- ThreeScale::API::ResponseError
- Defined in:
- lib/3scale/api/errors.rb
Direct Known Subclasses
HttpClient::ForbiddenError, HttpClient::NotFoundError, HttpClient::UnexpectedResponseError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response, message = response.to_s) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(response, message = response.to_s) ⇒ ResponseError
Returns a new instance of ResponseError.
6 7 8 9 |
# File 'lib/3scale/api/errors.rb', line 6 def initialize(response, = response.to_s) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
4 5 6 |
# File 'lib/3scale/api/errors.rb', line 4 def response @response end |