lib/active_merchant/billing/gateways/merchant_partners.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/merchant_partners.rb in activemerchant-1.106.0

- old
+ new

@@ -170,23 +170,23 @@ Response.new( succeeded, message_from(succeeded, response_data), response_data, authorization: authorization_from(post, response_data), - :avs_result => AVSResult.new(code: response_data['avs_response']), - :cvv_result => CVVResult.new(response_data['cvv2_response']), + avs_result: AVSResult.new(code: response_data['avs_response']), + cvv_result: CVVResult.new(response_data['cvv2_response']), test: test? ) end def headers { - 'Content-Type' => 'application/xml' + 'Content-Type' => 'application/xml' } end def build_request(post) - Nokogiri::XML::Builder.new(:encoding => 'utf-8') do |xml| + Nokogiri::XML::Builder.new(encoding: 'utf-8') do |xml| xml.interface_driver { xml.trans_catalog { xml.transaction(name: 'creditcard') { xml.inputs { post.each do |field, value|