Class: NCC::Configurator
- Inherits:
-
Object
- Object
- NCC::Configurator
- Defined in:
- lib/ncc.rb
Instance Attribute Summary collapse
-
#config_path ⇒ Object
Returns the value of attribute config_path.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configurator
constructor
A new instance of Configurator.
Constructor Details
#initialize ⇒ Configurator
Returns a new instance of Configurator.
31 32 33 34 |
# File 'lib/ncc.rb', line 31 def initialize @config_path = ['/etc/ncc-api'] @logger = nil end |
Instance Attribute Details
#config_path ⇒ Object
Returns the value of attribute config_path.
29 30 31 |
# File 'lib/ncc.rb', line 29 def config_path @config_path end |
#logger ⇒ Object
Returns the value of attribute logger.
29 30 31 |
# File 'lib/ncc.rb', line 29 def logger @logger end |