class SecretConfig::Providers::Provider

Abstract Base provider

Public Instance Methods

delete(_key) click to toggle source
# File lib/secret_config/providers/provider.rb, line 5
def delete(_key)
  raise NotImplementedError
end
each(_path) click to toggle source
# File lib/secret_config/providers/provider.rb, line 9
def each(_path)
  raise NotImplementedError
end
fetch(_key) click to toggle source
# File lib/secret_config/providers/provider.rb, line 13
def fetch(_key)
  raise NotImplementedError
end
set(_key, _value) click to toggle source
# File lib/secret_config/providers/provider.rb, line 17
def set(_key, _value)
  raise NotImplementedError
end
to_h(path) click to toggle source
# File lib/secret_config/providers/provider.rb, line 21
def to_h(path)
  h = {}
  each(path) { |key, value| h[key] = value }
  h
end