Exception: GatecoinAPI::Client::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- GatecoinAPI::Client::ApiError
- Defined in:
- lib/gatecoin-api/client.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(message, code, raw) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message, code, raw) ⇒ ApiError
Returns a new instance of ApiError.
16 17 18 19 |
# File 'lib/gatecoin-api/client.rb', line 16 def initialize(, code, raw) @raw = raw super "#{} [#{code}]" end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
14 15 16 |
# File 'lib/gatecoin-api/client.rb', line 14 def raw @raw end |