lib/active_merchant/billing/gateways/axcessms.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/axcessms.rb in activemerchant-1.87.0
- old
+ new
@@ -92,14 +92,14 @@
response
end
def parse_element(response, node)
if node.has_attributes?
- node.attributes.each{|name, value| response["#{node.name}_#{name}".underscore.to_sym] = value }
+ node.attributes.each { |name, value| response["#{node.name}_#{name}".underscore.to_sym] = value }
end
if node.has_elements?
- node.elements.each{|element| parse_element(response, element) }
+ node.elements.each { |element| parse_element(response, element) }
else
response[node.name.underscore.to_sym] = node.text
end
end