Exception: Snov::Client::ResponseError
- Defined in:
- lib/snov/client.rb
Direct Known Subclasses
BadGatewayError, BadRequest, ForbiddenError, GatewayTimeOut, MethodNotAllowed, UnauthorizedError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response: nil) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(message, response: nil) ⇒ ResponseError
Returns a new instance of ResponseError.
15 16 17 18 |
# File 'lib/snov/client.rb', line 15 def initialize(, response: nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
13 14 15 |
# File 'lib/snov/client.rb', line 13 def response @response end |