lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/exact.rb in activemerchant-1.87.0
- old
+ new
@@ -209,10 +209,10 @@
parse_elements(response, root)
elsif root = REXML::XPath.first(xml, '//soap:Fault')
parse_elements(response, root)
end
- response.delete_if{ |k,v| SENSITIVE_FIELDS.include?(k) }
+ response.delete_if { |k, v| SENSITIVE_FIELDS.include?(k) }
end
def parse_elements(response, root)
root.elements.to_a.each do |node|
response[node.name.gsub(/EXact/, 'Exact').underscore.to_sym] = (node.text || '').strip