Exception: EY::ApiHMAC::BaseConnection::UnknownError
- Inherits:
-
StandardError
- Object
- StandardError
- EY::ApiHMAC::BaseConnection::UnknownError
- Defined in:
- lib/ey_api_hmac/base_connection.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ UnknownError
constructor
A new instance of UnknownError.
Constructor Details
#initialize(response) ⇒ UnknownError
Returns a new instance of UnknownError.
47 48 49 50 |
# File 'lib/ey_api_hmac/base_connection.rb', line 47 def initialize(response) @response = response super("unknown error(#{response.status}): #{response.body}") end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
45 46 47 |
# File 'lib/ey_api_hmac/base_connection.rb', line 45 def response @response end |