lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.101.0
- old
+ new
@@ -89,12 +89,10 @@
def post_data(action, parameters = {})
parameters[:type] = action
ret = ''
for key in parameters.keys
ret += "#{key}=#{CGI.escape(parameters[key].to_s)}"
- if key != parameters.keys.last
- ret += '&'
- end
+ ret += '&' if key != parameters.keys.last
end
ret.to_s
end
def parse(data)