Class: Tappay::PaymentBase
Direct Known Subclasses
ApplePay::Pay, CreditCard::Instalment, CreditCard::InstalmentByPrime, CreditCard::InstalmentByToken, CreditCard::Pay, CreditCard::PayByPrime, CreditCard::PayByToken, GooglePay::Pay, JkoPay::Pay, LinePay::Pay
Constant Summary collapse
- VALID_INSTALMENT_VALUES =
[0, 3, 6, 12, 18, 24, 30].freeze
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options = {}) ⇒ PaymentBase
constructor
A new instance of PaymentBase.
Methods inherited from Client
Constructor Details
#initialize(options = {}) ⇒ PaymentBase
Returns a new instance of PaymentBase.
7 8 9 10 |
# File 'lib/tappay/payment_base.rb', line 7 def initialize( = {}) super end |
Instance Method Details
#execute ⇒ Object
12 13 14 |
# File 'lib/tappay/payment_base.rb', line 12 def execute post(endpoint_url, payment_data) end |