lib/active_merchant/billing/gateways/epay.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/epay.rb in activemerchant-1.87.0
- old
+ new
@@ -206,10 +206,10 @@
'response_message' => response.message
}
end
result = {}
- query.each_pair do |k,v|
+ query.each_pair do |k, v|
result[k] = v.is_a?(Array) && v.size == 1 ? v[0] : v # make values like ['v'] into 'v'
end
result
end