Exception: Customerio::InvalidResponse
- Inherits:
-
StandardError
- Object
- StandardError
- Customerio::InvalidResponse
- Defined in:
- lib/customerio/base_client.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(code, body, response = nil) ⇒ InvalidResponse
constructor
A new instance of InvalidResponse.
Constructor Details
#initialize(code, body, response = nil) ⇒ InvalidResponse
Returns a new instance of InvalidResponse.
15 16 17 18 19 20 |
# File 'lib/customerio/base_client.rb', line 15 def initialize(code, body, response = nil) @code = code @response = response super(body) end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
13 14 15 |
# File 'lib/customerio/base_client.rb', line 13 def code @code end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
13 14 15 |
# File 'lib/customerio/base_client.rb', line 13 def response @response end |