Class: Tappay::CreditCard::PayByPrime
- Inherits:
-
PaymentBase
- Object
- Tappay::Client
- PaymentBase
- Tappay::CreditCard::PayByPrime
- Defined in:
- lib/tappay/credit_card/pay.rb
Constant Summary
Constants inherited from PaymentBase
PaymentBase::VALID_INSTALMENT_VALUES
Instance Attribute Summary
Attributes inherited from Tappay::Client
Instance Method Summary collapse
Methods inherited from PaymentBase
Methods inherited from Tappay::Client
Constructor Details
This class inherits a constructor from Tappay::PaymentBase
Instance Method Details
#endpoint_url ⇒ Object
25 26 27 |
# File 'lib/tappay/credit_card/pay.rb', line 25 def endpoint_url Tappay::Endpoints::Payment.pay_by_prime_url end |
#payment_data ⇒ Object
18 19 20 21 22 23 |
# File 'lib/tappay/credit_card/pay.rb', line 18 def payment_data super.merge( prime: [:prime], remember: [:remember] || false ) end |