Class: Gateway::Eway
- Inherits:
-
Gateway
- Object
- Gateway
- Gateway::Eway
- Defined in:
- app/models/spree/gateway/eway.rb
Instance Method Summary collapse
-
#auto_capture? ⇒ Boolean
Note: EWay supports purchase method only (no authorize method).
- #options ⇒ Object
- #provider_class ⇒ Object
Instance Method Details
#auto_capture? ⇒ Boolean
Note: EWay supports purchase method only (no authorize method).
6 7 8 |
# File 'app/models/spree/gateway/eway.rb', line 6 def auto_capture? true end |
#options ⇒ Object
14 15 16 |
# File 'app/models/spree/gateway/eway.rb', line 14 def super().merge(:test => self.preferred_test_mode) end |
#provider_class ⇒ Object
10 11 12 |
# File 'app/models/spree/gateway/eway.rb', line 10 def provider_class ActiveMerchant::Billing::EwayGateway end |