Exception: BillForward::ApiError

Inherits:
Exception
  • Object
show all
Defined in:
lib/bill_forward/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#jsonObject (readonly)

Returns the value of attribute json.



24
25
26
# File 'lib/bill_forward/client.rb', line 24

def json
  @json
end

#rawObject (readonly)

Returns the value of attribute raw.



25
26
27
# File 'lib/bill_forward/client.rb', line 25

def raw
  @raw
end