Exception: Pay::PaymentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pay/errors.rb

Direct Known Subclasses

ActionRequired, InvalidPaymentMethod

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payment) ⇒ PaymentError

Returns a new instance of PaymentError.


9
10
11
# File 'lib/pay/errors.rb', line 9

def initialize(payment)
  @payment = payment
end

Instance Attribute Details

#paymentObject (readonly)

Returns the value of attribute payment.


7
8
9
# File 'lib/pay/errors.rb', line 7

def payment
  @payment
end