lib/active_merchant/billing/gateways/card_stream.rb in activemerchant-1.54.0 vs lib/active_merchant/billing/gateways/card_stream.rb in activemerchant-1.55.0
- old
+ new
@@ -184,10 +184,10 @@
def parse(body)
result = {}
pairs = body.split("&")
pairs.each do |pair|
a = pair.split("=")
- # because some values pairs dont have a value
+ # because some value pairs don't have a value
result[a[0].to_sym] = a[1] == nil ? '' : CGI.unescape(a[1])
end
result
end