Exception: CloudParty::Errors::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- CloudParty::Errors::APIError
- Defined in:
- lib/cloud_party/exception.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(message, response) ⇒ APIError
Returns a new instance of APIError.
7 8 9 10 |
# File 'lib/cloud_party/exception.rb', line 7 def initialize(, response) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/cloud_party/exception.rb', line 6 def response @response end |