module App

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]

Public Class Methods

clear_config() click to toggle source
# File lib/config/app.rb, line 160
def self.clear_config
  @config = Configurator.new
end
config() click to toggle source
# File lib/config/app.rb, line 156
def self.config
  @config ||= Configurator.new
end