Sha256: 139d71f803984f16e90d8777b430846dc0027f3f2242bcbe9a5e9571dbc5c9e7
Contents?: true
Size: 456 Bytes
Versions: 9
Compression:
Stored size: 456 Bytes
Contents
require "net/http" require "uri" module Maxipago module RequestBuilder class RapiRequest < Maxipago::RequestBuilder::Request URL = ENV['MP_URL_RAPI'] || "https://testapi.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
9 entries across 9 versions & 1 rubygems