Exception: PiNetwork::Errors::PaymentNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- PiNetwork::Errors::PaymentNotFoundError
- Defined in:
- lib/errors.rb
Instance Attribute Summary collapse
-
#payment_id ⇒ Object
readonly
Returns the value of attribute payment_id.
Instance Method Summary collapse
-
#initialize(message, payment_id) ⇒ PaymentNotFoundError
constructor
A new instance of PaymentNotFoundError.
Constructor Details
#initialize(message, payment_id) ⇒ PaymentNotFoundError
Returns a new instance of PaymentNotFoundError.
17 18 19 20 |
# File 'lib/errors.rb', line 17 def initialize(, payment_id) super() @payment_id = payment_id end |
Instance Attribute Details
#payment_id ⇒ Object (readonly)
Returns the value of attribute payment_id.
15 16 17 |
# File 'lib/errors.rb', line 15 def payment_id @payment_id end |