Exception: StrongKeyLite::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- StrongKeyLite::ResponseError
- Defined in:
- lib/skles.rb
Overview
Superclass of all StrongKeyLite exceptions.
Instance Attribute Summary (collapse)
-
- (Object) response
readonly
The @Savon::Response@ object resulting from the API call.
Instance Method Summary (collapse)
-
- (ResponseError) initialize(error, response)
constructor
A new instance of ResponseError.
Constructor Details
- (ResponseError) initialize(error, response)
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
- (Object) response (readonly)
The @Savon::Response@ object resulting from the API call.
152 153 154 |
# File 'lib/skles.rb', line 152 def response @response end |