Flowdock
method

config

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: EncryptedConfiguration
config() public

Returns the decrypted content as a Hash with symbolized keys.

my_config = ActiveSupport::EncryptedConfiguration.new(...)
my_config.read # => "some_secret: 123\nsome_namespace:\n  another_secret: 456"

my_config.config
# => { some_secret: 123, some_namespace: { another_secret: 789 } }
Show source
Register or log in to add new notes.