Exception: Pay::PaymentError
- Inherits:
-
StandardError
- Object
- StandardError
- Pay::PaymentError
- Defined in:
- lib/pay/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#payment ⇒ Object
readonly
Returns the value of attribute payment.
Instance Method Summary collapse
-
#initialize(payment) ⇒ PaymentError
constructor
A new instance of PaymentError.
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
#payment ⇒ Object (readonly)
Returns the value of attribute payment.
7 8 9 |
# File 'lib/pay/errors.rb', line 7 def payment @payment end |