Class: BingAdsRubySdk::Configuration
- Inherits:
-
Object
- Object
- BingAdsRubySdk::Configuration
- Defined in:
- lib/bing_ads_ruby_sdk/configuration.rb
Instance Attribute Summary collapse
-
#filters ⇒ Object
Returns the value of attribute filters.
-
#instrumentor ⇒ Object
Returns the value of attribute instrumentor.
-
#log ⇒ Object
Returns the value of attribute log.
- #logger ⇒ Object
-
#pretty_print_xml ⇒ Object
Returns the value of attribute pretty_print_xml.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 8 def initialize @log = false @pretty_print_xml = false @filters = [] @instrumentor = nil end |
Instance Attribute Details
#filters ⇒ Object
Returns the value of attribute filters.
5 6 7 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 5 def filters @filters end |
#instrumentor ⇒ Object
Returns the value of attribute instrumentor.
5 6 7 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 5 def instrumentor @instrumentor end |
#log ⇒ Object
Returns the value of attribute log.
5 6 7 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 5 def log @log end |
#logger ⇒ Object
15 16 17 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 15 def logger @logger ||= default_logger end |
#pretty_print_xml ⇒ Object
Returns the value of attribute pretty_print_xml.
5 6 7 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 5 def pretty_print_xml @pretty_print_xml end |