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

- old
+ new

@@ -6,11 +6,11 @@ module Billing #:nodoc: class PaypalGateway < Gateway include PaypalCommonAPI include PaypalRecurringApi - self.supported_cardtypes = [:visa, :master, :american_express, :discover] - self.supported_countries = ['CA', 'NZ', 'GB', 'US'] + self.supported_countries = %w[CA NZ GB US] + self.supported_cardtypes = %i[visa master american_express discover] self.homepage_url = 'https://www.paypal.com/us/webapps/mpp/paypal-payments-pro' self.display_name = 'PayPal Payments Pro (US)' def authorize(money, credit_card_or_referenced_id, options = {}) requires!(options, :ip)