lib/active_merchant/billing/gateways/axcessms.rb in activemerchant-1.100.0 vs lib/active_merchant/billing/gateways/axcessms.rb in activemerchant-1.101.0

- old
+ new

@@ -91,12 +91,10 @@ response end def parse_element(response, node) - if node.has_attributes? - node.attributes.each { |name, value| response["#{node.name}_#{name}".underscore.to_sym] = value } - end + node.attributes.each { |name, value| response["#{node.name}_#{name}".underscore.to_sym] = value } if node.has_attributes? if node.has_elements? node.elements.each { |element| parse_element(response, element) } else response[node.name.underscore.to_sym] = node.text