lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.79.2 vs lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.80.0

- old
+ new

@@ -251,11 +251,11 @@ else post[:paymentBrand] = payment.brand.upcase post[:card] = { holder: payment.name, number: payment.number, - expiryMonth: "%02d" % payment.month, + expiryMonth: '%02d' % payment.month, expiryYear: payment.year, cvv: payment.verification_value, } end end @@ -295,12 +295,12 @@ response = begin parse( ssl_post( url, - post.collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&"), - "Content-Type" => "application/x-www-form-urlencoded;charset=UTF-8" + post.collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join('&'), + 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8' ) ) rescue ResponseError => e parse(e.response.body) end @@ -363,10 +363,10 @@ h["#{k}.#{h_k}".to_sym] = h_v end else h[k] = v end - end + end end end end end