class ActiveSupport::EncryptedConfiguration
def config
# => { some_secret: 123, some_namespace: { another_secret: 789 } }
my_config.config
my_config.read # => "some_secret: 123\nsome_namespace:\n another_secret: 456"
my_config = ActiveSupport::EncryptedConfiguration.new(...)
Returns the decrypted content as a Hash with symbolized keys.
def config @config ||= deserialize(read).deep_symbolize_keys end