lib/rsqoot/client.rb in rsqoot-0.5.1 vs lib/rsqoot/client.rb in rsqoot-0.5.2
- old
+ new
@@ -4,10 +4,11 @@
require "rsqoot/provider"
require "rsqoot/commission"
require "rsqoot/click"
require "rsqoot/deal"
require "rsqoot/request"
+require "rsqoot/logger"
module RSqoot
class Client
include Helper
include Category
@@ -15,11 +16,12 @@
include Commission
include Deal
include Merchant
include Provider
include Request
+ include Logger
- attr_reader :public_api_key, :private_api_key, :base_api_url, :authentication_method, :read_timeout, :query_options, :expired_in
+ attr_reader :public_api_key, :private_api_key, :base_api_url, :authentication_method, :read_timeout, :query_options, :expired_in, :sqoot_query_uri
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