Module: Cumulus::Config

Overview

Public: A module that contains helper methods for the configuration classes.

When mixing in this module, make sure your class has a @node instance variable for what node in the json it expect to get config from, ie. “s3” or “iam”

Constant Summary collapse

@@json =
nil
@@conf_dir =
nil

Class Method Summary collapse

Class Method Details

.conf_dirObject



22
23
24
# File 'lib/conf/Configuration.rb', line 22

def conf_dir
  @@conf_dir
end

.conf_dir=(value) ⇒ Object



26
27
28
# File 'lib/conf/Configuration.rb', line 26

def conf_dir=(value)
  @@conf_dir = value
end

.jsonObject



14
15
16
# File 'lib/conf/Configuration.rb', line 14

def json
  @@json
end

.json=(value) ⇒ Object



18
19
20
# File 'lib/conf/Configuration.rb', line 18

def json=(value)
  @@json = value
end