Sha256: 9cd98fec9406cac65d25c4083de2ad78d3f429899f1fd7826514dab2493cf935
Contents?: true
Size: 916 Bytes
Versions: 3
Compression:
Stored size: 916 Bytes
Contents
require "rsqoot/merchant" require "rsqoot/category" require "rsqoot/provider" require "rsqoot/commission" require "rsqoot/click" require "rsqoot/deal" require "rsqoot/request" module RSqoot class Client include Category include Click include Commission include Deal include Merchant include Provider include Request attr_reader :public_api_key, :private_api_key, :base_api_url, :authentication_method, :read_timeout def initialize(options={}) @public_api_key = options[:public_api_key] || RSqoot.public_api_key @private_api_key = options[:private_api_key] || RSqoot.private_api_key @base_api_url = options[:base_api_url] || RSqoot.base_api_url @authentication_method = options[:authentication_method] || RSqoot.authentication_method @read_timeout = options[:read_timeout] || RSqoot.read_timeout end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
rsqoot-0.2.2 | lib/rsqoot/client.rb |
rsqoot-0.1.1 | lib/rsqoot/client.rb |
rqoot-0.1.0 | lib/rsqoot/client.rb |