Exception: BillForward::ApiError
- Inherits:
-
Exception
- Object
- Exception
- BillForward::ApiError
- Defined in:
- lib/bill_forward/client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#json ⇒ Object
readonly
Returns the value of attribute json.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(json, raw) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(json, raw) ⇒ ApiError
Returns a new instance of ApiError.
27 28 29 30 |
# File 'lib/bill_forward/client.rb', line 27 def initialize(json, raw) @json = json @raw = raw end |
Instance Attribute Details
#json ⇒ Object (readonly)
Returns the value of attribute json.
24 25 26 |
# File 'lib/bill_forward/client.rb', line 24 def json @json end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
25 26 27 |
# File 'lib/bill_forward/client.rb', line 25 def raw @raw end |