lib/secret_config/registry.rb
# Returns [Hash] a copy of the in memory configuration data.
#
# Supply the relative path to start from so that only keys and values in that
# path will be returned.
Returns [Hash] a copy of the in memory configuration data.
Supply the relative path to start from so that only keys and values in that
path will be returned.
Returns [ Hash ] a copy of the in memory configuration data . Supply the relative path to start from so that only keys and values in that path will be returned .
def configuration(path: nil, filters: SecretConfig.filters)
      h = {}
      cache.each_pair do |key, value|
        next if path && !key.start_with?(path)
        value = filter_value(key, value, filters)
        Utils.decompose(key, value, h)
      end
      h
    end
def configuration ( path : nil , filters : SecretConfig . filters ) h = { } cache . each_pair do | key , value | next if path && ! key . start_with? ( path ) value = filter_value ( key , value , filters ) Utils . decompose ( key , value , h ) end h end
Returns [Hash] a copy of the in memory configuration data.
Returns [ Hash ] a copy of the in memory configuration data .
path
<not_specific>
filters
<not_specific>