lib/active_merchant/billing/gateways/micropayment.rb in activemerchant-1.108.0 vs lib/active_merchant/billing/gateways/micropayment.rb in activemerchant-1.109.0
- old
+ new
@@ -7,11 +7,11 @@
self.test_url = self.live_url = 'https://sipg.micropayment.de/public/creditcardpsp/v1/nvp/'
self.supported_countries = %w(DE)
self.default_currency = 'EUR'
self.money_format = :cents
- self.supported_cardtypes = [:visa, :master, :american_express]
+ self.supported_cardtypes = %i[visa master american_express]
def initialize(options={})
requires!(options, :access_key)
super
end
@@ -173,10 +173,10 @@
authorization.split('|')
end
def authorization_from(response, request_params)
session_id = response['sessionId'] || request_params[:sessionId]
- "#{session_id}|#{response["transactionId"]}"
+ "#{session_id}|#{response['transactionId']}"
end
end
end
end