lib/active_merchant/billing/gateways/maxipago.rb in activemerchant-1.133.0 vs lib/active_merchant/billing/gateways/maxipago.rb in activemerchant-1.137.0

- old
+ new

@@ -77,11 +77,11 @@ gsub(%r((<cvvNumber>)[^<]*(</cvvNumber>))i, '\1[FILTERED]\2') end private - def commit(action) - request = build_xml_request(action) { |doc| yield(doc) } + def commit(action, &block) + request = build_xml_request(action, &block) response = parse(ssl_post(url, request, 'Content-Type' => 'text/xml')) Response.new( success?(response), message_from(response),