Class: DCAS::Payment
- Inherits:
-
Object
- Object
- DCAS::Payment
- Defined in:
- lib/dcas/payment.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#batch ⇒ Object
Returns the value of attribute batch.
Instance Method Summary collapse
-
#initialize(client_id, client_name, amount, *args) ⇒ Payment
constructor
A new instance of Payment.
Constructor Details
#initialize(client_id, client_name, amount, *args) ⇒ Payment
Returns a new instance of Payment.
46 47 48 49 50 51 52 |
# File 'lib/dcas/payment.rb', line 46 def initialize(client_id, client_name, amount, *args) @client_id = client_id @client_name = client_name @amount = amount @txn_type = 'Debit' return args end |
Instance Attribute Details
#batch ⇒ Object
Returns the value of attribute batch.
44 45 46 |
# File 'lib/dcas/payment.rb', line 44 def batch @batch end |