Sha256: bd6aeaab1a7687867d61b44b39c2301b6b0b6413f8076a1c6d60835d4ec5a2f2
Contents?: true
Size: 461 Bytes
Versions: 11
Compression:
Stored size: 461 Bytes
Contents
require "net/http" require "uri" module Maxipago module RequestBuilder class TransactionRequest < Maxipago::RequestBuilder::Request URL = ENV['MP_URL_TRANSACTION'] || "https://testapi.maxipago.net/UniversalAPI/postXML" private def set_uri @uri = URI.parse(URL) end def build_xml Maxipago::XmlBuilder::BuilderTransaction.new(@maxipagoId, @apiKey, @apiVersion, opts).get_xml_data end end end end
Version data entries
11 entries across 11 versions & 1 rubygems