Class: Gateway::Banwire
- Inherits:
-
Gateway
- Object
- Gateway
- Gateway::Banwire
- Defined in:
- app/models/spree/gateway/banwire.rb
Instance Method Summary collapse
Instance Method Details
#provider_class ⇒ Object
6 7 8 |
# File 'app/models/spree/gateway/banwire.rb', line 6 def provider_class ActiveMerchant::Billing::BanwireGateway end |
#purchase(money, creditcard, gateway_options) ⇒ Object
10 11 12 13 |
# File 'app/models/spree/gateway/banwire.rb', line 10 def purchase(money, creditcard, ) [:description] = "Spree Order" provider.purchase(money, creditcard, ) end |