Sha256: 4b20312b2c9779b01a89b295dc5e5398c24b175d6ec8187d05b787ea390830ff
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
require "net/https" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maxipago-0.1.4 | lib/maxipago/request_builder/transaction_request.rb |
maxipago-0.1.3 | lib/maxipago/request_builder/transaction_request.rb |