Sha256: a8c095e3889c06db773a70af6d352b0a2c6445722c6a92a85110de3f99d67c48
Contents?: true
Size: 388 Bytes
Versions: 6
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 vefore 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
6 entries across 6 versions & 1 rubygems