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_with_test_preference ⇒ Object
- #provider_class ⇒ Object
Instance Method Details
#auto_capture? ⇒ Boolean
Note: EWay supports purchase method only (no authorize method).
8 9 10 |
# File 'app/models/spree/gateway/eway.rb', line 8 def auto_capture? true end |
#options_with_test_preference ⇒ Object
16 17 18 |
# File 'app/models/spree/gateway/eway.rb', line 16 def .merge(:test => self.preferred_test_mode) end |
#provider_class ⇒ Object
12 13 14 |
# File 'app/models/spree/gateway/eway.rb', line 12 def provider_class ActiveMerchant::Billing::EwayGateway end |