module AdManagerApi::ApiConfig
Contains helper methods for loading and managing the available services.
Constants
- API_NAME
Set other constants
- CLIENT_LIB_VERSION
- DEFAULT_CONFIG_FILENAME
- DEFAULT_VERSION
Set defaults
- LATEST_VERSION
Public Class Methods
api_name()
click to toggle source
# File lib/ad_manager_api/api_config.rb, line 146 def self.api_name API_NAME end
config(key)
click to toggle source
# File lib/ad_manager_api/api_config.rb, line 154 def self.config(key) @@config[key] end
default_config_filename()
click to toggle source
# File lib/ad_manager_api/api_config.rb, line 162 def self.default_config_filename DEFAULT_CONFIG_FILENAME end
default_version()
click to toggle source
Getters for constants and module variables.
# File lib/ad_manager_api/api_config.rb, line 138 def self.default_version DEFAULT_VERSION end
latest_version()
click to toggle source
# File lib/ad_manager_api/api_config.rb, line 142 def self.latest_version LATEST_VERSION end
service_config()
click to toggle source
# File lib/ad_manager_api/api_config.rb, line 150 def self.service_config @@service_config end
subdir_config()
click to toggle source
# File lib/ad_manager_api/api_config.rb, line 158 def self.subdir_config nil end