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_configObject



162
163
164
# File 'lib/config/app.rb', line 162

def self.clear_config
  @config = Configurator.new
end

.configObject



158
159
160
# File 'lib/config/app.rb', line 158

def self.config
  @config ||= Configurator.new
end