Module: SkroutzPay::Gateways::AmericanExpress
- Extended by:
- AmericanExpress
- Included in:
- AmericanExpress
- Defined in:
- lib/skroutz_pay/gateways/american_express.rb
Instance Method Summary collapse
-
#authorize(ccn, expiration_date, cvv2, amount) ⇒ Object
Authorizes a payment The auth sequence will approve or not the payment for this credit card but will not make any actual transation.
-
#capture(ccn, expiration_date, cvv2, amount) ⇒ Object
Captures a payment by charging actual money.
Instance Method Details
#authorize(ccn, expiration_date, cvv2, amount) ⇒ Object
Authorizes a payment The auth sequence will approve or not the payment for this credit card but will not make any actual transation.
14 15 16 |
# File 'lib/skroutz_pay/gateways/american_express.rb', line 14 def (ccn, expiration_date, cvv2, amount) request(ccn, expiration_date, cvv2, amount) end |
#capture(ccn, expiration_date, cvv2, amount) ⇒ Object
Captures a payment by charging actual money
24 25 26 |
# File 'lib/skroutz_pay/gateways/american_express.rb', line 24 def capture(ccn, expiration_date, cvv2, amount) request(ccn, expiration_date, cvv2, amount, :capture) end |