Class: VCloudSdk::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_vcloud_sdk/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

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