Exception: StrongKeyLite::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- StrongKeyLite::ResponseError
- Defined in:
- lib/skles.rb
Overview
Superclass of all StrongKeyLite exceptions.
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
The @Savon::Response@ object resulting from the API call.
Instance Method Summary collapse
-
#initialize(error, response) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(error, response) ⇒ ResponseError
Returns a new instance of ResponseError.
155 156 157 158 |
# File 'lib/skles.rb', line 155 def initialize(error, response) super error.to_s @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
The @Savon::Response@ object resulting from the API call.
152 153 154 |
# File 'lib/skles.rb', line 152 def response @response end |