lib/active_merchant/billing/gateways/cams.rb in activemerchant-1.108.0 vs lib/active_merchant/billing/gateways/cams.rb in activemerchant-1.109.0

- old
+ new

@@ -3,11 +3,11 @@ class CamsGateway < Gateway self.live_url = 'https://secure.centralams.com/gw/api/transact.php' self.supported_countries = ['US'] self.default_currency = 'USD' - self.supported_cardtypes = [:visa, :master, :american_express, :discover] + self.supported_cardtypes = %i[visa master american_express discover] self.homepage_url = 'https://www.centralams.com/' self.display_name = 'CAMS: Central Account Management System' STANDARD_ERROR_CODE_MAPPING = { @@ -165,10 +165,10 @@ post[:currency] = (options[:currency] || default_currency) end def add_payment(post, payment) post[:ccnumber] = payment.number - post[:ccexp] = "#{payment.month.to_s.rjust(2, "0")}#{payment.year.to_s[-2..-1]}" + post[:ccexp] = "#{payment.month.to_s.rjust(2, '0')}#{payment.year.to_s[-2..-1]}" post[:cvv] = payment.verification_value end def parse(body) kvs = body.split('&')