lib/active_merchant/billing/gateways/ct_payment.rb in activemerchant-1.108.0 vs lib/active_merchant/billing/gateways/ct_payment.rb in activemerchant-1.109.0
- old
+ new
@@ -2,12 +2,12 @@
module Billing #:nodoc:
class CtPaymentGateway < Gateway
self.test_url = 'https://test.ctpaiement.ca/v1/'
self.live_url = 'https://www.ctpaiement.com/v1/'
- self.supported_countries = ['US', 'CA']
+ self.supported_countries = %w[US CA]
self.default_currency = 'CAD'
- self.supported_cardtypes = [:visa, :master, :american_express, :discover, :diners_club]
+ self.supported_cardtypes = %i[visa master american_express discover diners_club]
self.homepage_url = 'http://www.ct-payment.com/'
self.display_name = 'CT Payment'
STANDARD_ERROR_CODE_MAPPING = {