lib/active_merchant/billing/gateways/telr.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/telr.rb in activemerchant-1.87.0

- old
+ new

@@ -213,10 +213,10 @@ def parse(xml) response = {} doc = Nokogiri::XML(xml) doc.root&.xpath('*')&.each do |node| - if (node.elements.size == 0) + if node.elements.size == 0 response[node.name.downcase.to_sym] = node.text else node.elements.each do |childnode| name = childnode.name.downcase response[name.to_sym] = childnode.text