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

- old
+ new

@@ -128,11 +128,11 @@ self.test_url = 'https://staging.linkpt.net:1129/' self.live_url = 'https://secure.linkpt.net:1129/' self.supported_countries = ['US'] - self.supported_cardtypes = [:visa, :master, :american_express, :discover, :jcb, :diners_club] + self.supported_cardtypes = %i[visa master american_express discover jcb diners_club] self.homepage_url = 'http://www.linkpoint.com/' self.display_name = 'LinkPoint' def initialize(options = {}) requires!(options, :login) @@ -167,10 +167,10 @@ # :comments Uh... comments # def recurring(money, creditcard, options={}) ActiveMerchant.deprecated RECURRING_DEPRECATION_MESSAGE - requires!(options, [:periodicity, :bimonthly, :monthly, :biweekly, :weekly, :yearly, :daily], :installments, :order_id) + requires!(options, %i[periodicity bimonthly monthly biweekly weekly yearly daily], :installments, :order_id) options.update( ordertype: 'SALE', action: options[:action] || 'SUBMIT', installments: options[:installments] || 12,