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

- old
+ new

@@ -3,15 +3,15 @@ class OptimalPaymentGateway < Gateway self.test_url = 'https://webservices.test.optimalpayments.com/creditcardWS/CreditCardServlet/v1' self.live_url = 'https://webservices.optimalpayments.com/creditcardWS/CreditCardServlet/v1' # The countries the gateway supports merchants from as 2 digit ISO country codes - self.supported_countries = ['CA', 'US', 'GB', 'AU', 'AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', - 'EE', 'FI', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', - 'NL', 'NO', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'CH'] + self.supported_countries = %w[CA US GB AU AT BE BG HR CY CZ DK + EE FI DE GR HU IE IT LV LT LU MT + NL NO PL PT RO SK SI ES SE CH] # The card types supported by the payment gateway - self.supported_cardtypes = [:visa, :master, :american_express, :discover, :diners_club] + self.supported_cardtypes = %i[visa master american_express discover diners_club] # The homepage URL of the gateway self.homepage_url = 'http://www.optimalpayments.com/' # The name of the gateway