lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.104.0

- old
+ new

@@ -3,12 +3,12 @@ class ExactGateway < Gateway self.live_url = self.test_url = 'https://secure2.e-xact.com/vplug-in/transaction/rpc-enc/service.asmx' API_VERSION = '8.5' - TEST_LOGINS = [ {:login => 'A00049-01', :password => 'test1'}, - {:login => 'A00427-01', :password => 'testus'} ] + TEST_LOGINS = [{:login => 'A00049-01', :password => 'test1'}, + {:login => 'A00427-01', :password => 'testus'}] TRANSACTIONS = { :sale => '00', :authorization => '01', :capture => '32', :credit => '34' } @@ -26,10 +26,10 @@ POST_HEADERS = { 'soapAction' => 'http://secure2.e-xact.com/vplug-in/transaction/rpc-enc/SendAndCommit', 'Content-Type' => 'text/xml'} SUCCESS = 'true' - SENSITIVE_FIELDS = [ :verification_str2, :expiry_date, :card_number ] + SENSITIVE_FIELDS = [:verification_str2, :expiry_date, :card_number] self.supported_cardtypes = [:visa, :master, :american_express, :jcb, :discover] self.supported_countries = ['CA', 'US'] self.homepage_url = 'http://www.e-xact.com' self.display_name = 'E-xact'