Class: Gateway::AuthorizeNet

Inherits:
Gateway
  • Object
show all
Defined in:
app/models/spree/gateway/authorize_net.rb

Instance Method Summary collapse

Instance Method Details

#options_with_test_preferenceObject



12
13
14
# File 'app/models/spree/gateway/authorize_net.rb', line 12

def options_with_test_preference
  options_without_test_preference.merge(:test => self.preferred_test_mode)
end

#provider_classObject



8
9
10
# File 'app/models/spree/gateway/authorize_net.rb', line 8

def provider_class
  ActiveMerchant::Billing::AuthorizeNetGateway
end