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

- old
+ new

@@ -101,11 +101,11 @@ gsub(%r((&?card.CVN=)[^&]*), '\1[FILTERED]') end private - CURRENCY_CODES = Hash.new{|h,k| raise ArgumentError.new("Unsupported currency: #{k}")} + CURRENCY_CODES = Hash.new { |h, k| raise ArgumentError.new("Unsupported currency: #{k}") } CURRENCY_CODES['AUD'] = 'AUD' CURRENCY_CODES['INR'] = 'INR' def add_soft_descriptors(post, options) post['customer.merchantName'] = options[:customer_merchant_name] if options[:customer_merchant_name] @@ -195,10 +195,10 @@ result end def parse_element(response, node) 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