lib/active_merchant/billing/gateways/s5.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/s5.rb in activemerchant-1.102.0
- old
+ new
@@ -178,10 +178,10 @@
xml.Recurrence(mode: 'INITIAL')
end
end
def parse(body)
- results = {}
+ results = {}
xml = Nokogiri::XML(body)
resp = xml.xpath('//Response/Transaction/Identification')
resp.children.each do |element|
results[element.name.downcase.to_sym] = element.text
end