Exception: StrongKeyLite::ResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/skles.rb

Overview

Superclass of all StrongKeyLite exceptions.

Direct Known Subclasses

HTTPError, SOAPError

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

The @Savon::Response@ object resulting from the API call.



152
153
154
# File 'lib/skles.rb', line 152

def response
  @response
end