lib/processout/invoice.rb in processout-2.4.0 vs lib/processout/invoice.rb in processout-2.5.0

- old
+ new

@@ -392,10 +392,11 @@ request = Request.new(@client) path = "/invoices/" + CGI.escape(@id) + "/authorize" data = { "synchronous" => options.fetch(:synchronous, nil), + "prioritized_gateway_configuration_id" => options.fetch(:prioritized_gateway_configuration_id, nil), "source" => source } response = Response.new(request.post(path, data, options)) return_values = Array.new @@ -419,9 +420,10 @@ request = Request.new(@client) path = "/invoices/" + CGI.escape(@id) + "/capture" data = { "authorize_only" => options.fetch(:authorize_only, nil), "synchronous" => options.fetch(:synchronous, nil), + "prioritized_gateway_configuration_id" => options.fetch(:prioritized_gateway_configuration_id, nil), "source" => source } response = Response.new(request.post(path, data, options)) return_values = Array.new