Sha256: 0ad6d9e79d2041fa734f8ada387f1878da108ea5392a34ad571937596081b8f9
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
# External requires. require 'json' require 'rest-client' require 'hashie' require 'logger' # Internal requires. require 'the_trade_desk_ads/base' Dir[File.expand_path('../the_trade_desk_ads/*.rb', __FILE__)].each { |f| require f } # The primary namespace for this gem. module TheTradeDeskAds def self.logger=(logger) @logger = logger end def self.logger unless defined?(@logger) @logger = Logger.new('/dev/null') @logger.level = Logger::Severity::UNKNOWN end @logger end def self.base_uri=(base_uri) @base_uri = base_uri end # Note: This is the sandbox base uri def self.base_uri unless defined?(@base_uri) @base_uri = 'https://apisb.thetradedesk.com/v3/' end @base_uri end def self.access_token=(access_token) @access_token = access_token end def self.access_token @access_token end def self.login=(login) @login = login end def self.login @login end def self.password=(password) @password = password end def self.password @password end def self.token_expiration_in_minutes=(token_expiration_in_minutes) @token_expiration_in_minutes = token_expiration_in_minutes end def self.token_expiration_in_minutes @token_expiration_in_minutes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
the_trade_desk_ads-0.0.1 | lib/the_trade_desk_ads.rb |