Class: SecretConfig::Providers::Provider
- Inherits:
-
Object
- Object
- SecretConfig::Providers::Provider
- Defined in:
- lib/secret_config/providers/provider.rb
Overview
Abstract Base provider
Instance Method Summary collapse
Instance Method Details
#delete(key) ⇒ Object
9 10 11 |
# File 'lib/secret_config/providers/provider.rb', line 9 def delete(key) raise NotImplementedError end |
#set(key, value) ⇒ Object
5 6 7 |
# File 'lib/secret_config/providers/provider.rb', line 5 def set(key, value) raise NotImplementedError end |
#to_h(path) ⇒ Object
13 14 15 16 17 |
# File 'lib/secret_config/providers/provider.rb', line 13 def to_h(path) h = {} each(path) { |key, value| h[key] = value } h end |