Sha256: 7d322da289df6e636dc6bdc0a871628e8320aad21279a9a8a43d7d76f14b1104
Contents?: true
Size: 388 Bytes
Versions: 22
Compression:
Stored size: 388 Bytes
Contents
module Maxipago class Client APIVERSION = "3.1.1.15" attr_reader :response, :request def use(request) @request = request end def execute(opts = {}) raise "Sets the api type before execute commands." if request.nil? raise ArgumentError, "Execute method needs options" if opts.empty? @response = request.send_command(opts) end end end
Version data entries
22 entries across 22 versions & 1 rubygems