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.
-
#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 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 8 def initialize @log = false @pretty_print_xml = false @filters = [] 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 |
#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
14 15 16 |
# File 'lib/bing_ads_ruby_sdk/configuration.rb', line 14 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 |