lib/active_merchant/billing/gateways/culqi.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/culqi.rb in activemerchant-1.106.0
- old
+ new
@@ -229,11 +229,11 @@
)
end
def headers
{
- 'Accept' => 'application/json',
- 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8'
+ 'Accept' => 'application/json',
+ 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8'
}
end
def post_data(action, params)
params.map { |k, v| "#{k}=#{CGI.escape(v.to_s)}" }.join('&')