lib/active_merchant/billing/gateways/micropayment.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/micropayment.rb in activemerchant-1.102.0
- old
+ new
@@ -134,10 +134,10 @@
test: test?
)
end
def headers
- { 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8' }
+ { 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8' }
end
def post_data(action, params)
params.map { |k, v| "#{CGI.escape(k.to_s)}=#{CGI.escape(v.to_s)}" }.join('&')
end