lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.108.0 vs lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.109.0
- old
+ new
@@ -26,13 +26,13 @@
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 = %i[verification_str2 expiry_date card_number]
- self.supported_cardtypes = [:visa, :master, :american_express, :jcb, :discover]
- self.supported_countries = ['CA', 'US']
+ self.supported_countries = %w[CA US]
+ self.supported_cardtypes = %i[visa master american_express jcb discover]
self.homepage_url = 'http://www.e-xact.com'
self.display_name = 'E-xact'
def initialize(options = {})
requires!(options, :login, :password)