Module: App
- Defined in:
- lib/config/app.rb
Overview
App::Configuration class helps loading configuration files.
In order to load config files, you need to provide encryption password to the environment
To encrypt content, use the following command:
encrypt_property_for_yaml encrypt [SECRET_PASSWORD] [CONTENT_TO_ENCRYPT]
Defined Under Namespace
Classes: Configurator
Class Method Summary collapse
Class Method Details
.clear_config ⇒ Object
169 170 171 |
# File 'lib/config/app.rb', line 169 def self.clear_config @config = Configurator.new end |
.config ⇒ Object
165 166 167 |
# File 'lib/config/app.rb', line 165 def self.config @config ||= Configurator.new end |