Exception: Reji::IncompletePaymentError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payment, message = '') ⇒ IncompletePaymentError

Returns a new instance of IncompletePaymentError.



7
8
9
10
11
# File 'lib/reji/errors.rb', line 7

def initialize(payment, message = '')
  super(message)

  @payment = payment
end

Instance Attribute Details

#paymentObject

Returns the value of attribute payment.



5
6
7
# File 'lib/reji/errors.rb', line 5

def payment
  @payment
end