Class: Tappay::CreditCard::PayByToken
- Inherits:
-
PaymentBase
- Object
- Tappay::Client
- PaymentBase
- Tappay::CreditCard::PayByToken
- 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
45 46 47 |
# File 'lib/tappay/credit_card/pay.rb', line 45 def endpoint_url Tappay::Endpoints::Payment.pay_by_token_url end |
#payment_data ⇒ Object
37 38 39 40 41 42 43 |
# File 'lib/tappay/credit_card/pay.rb', line 37 def payment_data super.merge( card_key: [:card_key], card_token: [:card_token], ccv_prime: [:ccv_prime] ) end |