Class: VCloudSdk::Config
- Inherits:
-
Object
- Object
- VCloudSdk::Config
- Defined in:
- lib/ruby_vcloud_sdk/config.rb
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
4 5 6 |
# File 'lib/ruby_vcloud_sdk/config.rb', line 4 def logger @logger end |
Class Method Details
.configure(config) ⇒ Object
6 7 8 |
# File 'lib/ruby_vcloud_sdk/config.rb', line 6 def configure(config) @logger = config[:logger] || @logger || Logger.new(STDOUT) end |