Sha256: 7af78fcecabce872110f2ad1ea4cc40250506b924f5cdb12fb7e21f9efc865ac
Contents?: true
Size: 439 Bytes
Versions: 15
Compression:
Stored size: 439 Bytes
Contents
require "net/http" require "uri" module Maxipago module RequestBuilder class ApiRequest < Maxipago::RequestBuilder::Request URL = ENV['MP_URL_API'] || "https://api.maxipago.net/UniversalAPI/postAPI" private def set_uri @uri = URI.parse(URL) end def build_xml(opts) Maxipago::XmlBuilder::BuilderApi.new(@maxipagoId, @apiKey, @apiVersion, opts).get_xml_data end end end end
Version data entries
15 entries across 15 versions & 1 rubygems