lib/active_merchant/billing/gateways/merchant_partners.rb in activemerchant-1.86.0 vs lib/active_merchant/billing/gateways/merchant_partners.rb in activemerchant-1.87.0
- old
+ new
@@ -210,10 +210,10 @@
def parse_element(response, node)
if node.elements.size == 0
response[node.name.downcase.underscore.to_sym] = node.text
else
- node.elements.each{|element| parse_element(response, element) }
+ node.elements.each { |element| parse_element(response, element) }
end
end
def success_from(response)
response[:status] == 'Approved'