Class: Boechat::Core::Config::Wrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/boechat/core/config/wrapper.rb

Overview

Class responsible for save all configurations readed from boechat.yml file

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config, errors) ⇒ Wrapper

Returns a new instance of Wrapper.



10
11
12
13
# File 'lib/boechat/core/config/wrapper.rb', line 10

def initialize(config, errors)
  @config = config
  @errors = errors
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



8
9
10
# File 'lib/boechat/core/config/wrapper.rb', line 8

def config
  @config
end

#errorsObject (readonly)

Returns the value of attribute errors.



8
9
10
# File 'lib/boechat/core/config/wrapper.rb', line 8

def errors
  @errors
end