Class: ConfigReader::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



159
160
161
162
163
164
165
# File 'lib/config_reader.rb', line 159

def initialize
  @config_file = nil
  @environment = nil
  @ignore_missing_keys = false
  @permitted_classes = []
  @sekrets_file = nil
end

Instance Attribute Details

#config_fileObject

Returns the value of attribute config_file.



153
154
155
# File 'lib/config_reader.rb', line 153

def config_file
  @config_file
end

#environmentObject

Returns the value of attribute environment.



153
154
155
# File 'lib/config_reader.rb', line 153

def environment
  @environment
end

#ignore_missing_keysObject

Returns the value of attribute ignore_missing_keys.



153
154
155
# File 'lib/config_reader.rb', line 153

def ignore_missing_keys
  @ignore_missing_keys
end

#permitted_classesObject

Returns the value of attribute permitted_classes.



153
154
155
# File 'lib/config_reader.rb', line 153

def permitted_classes
  @permitted_classes
end

#sekrets_fileObject

Returns the value of attribute sekrets_file.



153
154
155
# File 'lib/config_reader.rb', line 153

def sekrets_file
  @sekrets_file
end