Exception: PiNetwork::Errors::PaymentNotFoundError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, payment_id)
  super(message)
  @payment_id = payment_id
end

Instance Attribute Details

#payment_idObject (readonly)

Returns the value of attribute payment_id.



15
16
17
# File 'lib/errors.rb', line 15

def payment_id
  @payment_id
end