Class: PayLane::Payment
- Inherits:
-
Object
- Object
- PayLane::Payment
- Defined in:
- lib/paylane/payment.rb
Instance Method Summary collapse
- #charge_card(amount) ⇒ Object
- #direct_debit(amount) ⇒ Object
-
#initialize(options = {}) ⇒ Payment
constructor
A new instance of Payment.
Constructor Details
Instance Method Details
#charge_card(amount) ⇒ Object
10 11 12 |
# File 'lib/paylane/payment.rb', line 10 def charge_card(amount) do_payment(amount, {'card_data' => card_data}) end |
#direct_debit(amount) ⇒ Object
14 15 16 |
# File 'lib/paylane/payment.rb', line 14 def direct_debit(amount) do_payment(amount, {'account_data' => account_data}) end |