Exception: EzpayInvoice::EzpayResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ezpay-invoice/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, status) ⇒ EzpayResponseError

Returns a new instance of EzpayResponseError.



8
9
10
11
# File 'lib/ezpay-invoice/exceptions.rb', line 8

def initialize(message, status)
  super(message)
  @status = status
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



6
7
8
# File 'lib/ezpay-invoice/exceptions.rb', line 6

def status
  @status
end