Sha256: 3fe7d7bcd6b75d566aff06a1cee24bcb2afea140d517f75dfbf35aecc2757c79
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
require "net_https" require "uri" module Maxipago module RequestBuilder class RapiRequest < Maxipago::RequestBuilder::Request URL = ENV[MP_URL_RAPI] || "https://testeapi.maxipago.net/ReportsAPI/servlet/ReportsAPI" private def set_uri @uri = URI.parse(opts) end def build_xml(opts) Maxipago::XmlBuilder::BuilderRapi.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/rapi_request.rb |
maxipago-0.1.3 | lib/maxipago/request_builder/rapi_request.rb |