Sha256: a7c02ce8fd4d6104b1380355e1a9eafd154da084cb1c121907afcec84ae0d1f8
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
require "net/http" require "uri" module Maxipago module RequestBuilder class TransactionRequest < Maxipago::RequestBuilder::Request URL = ENV['MP_URL_TRANSACTION'] || "https://api.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
3 entries across 3 versions & 1 rubygems