lib/active_merchant/billing/gateways/creditcall.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/creditcall.rb in activemerchant-1.84.0

- old
+ new

@@ -50,11 +50,11 @@ multi_response = MultiResponse.run do |r| r.process { authorize(money, payment_method, options) } r.process { capture(money, r.authorization, options) } end - merged_params = multi_response.responses.map { |r| r.params }.reduce({}, :merge) + merged_params = multi_response.responses.map(&:params).reduce({}, :merge) Response.new( multi_response.primary_response.success?, multi_response.primary_response.message, merged_params, @@ -211,10 +211,9 @@ response[childnode.name] = childnode.text else childnode_to_response(response, childnode) end end - response end def childnode_to_response(response, childnode)