Class: ContainerConfig::Provider::Base
- Inherits:
-
Object
- Object
- ContainerConfig::Provider::Base
- Defined in:
- lib/container_config/provider/base.rb
Overview
Base config value provider
Direct Known Subclasses
Instance Method Summary collapse
-
#load(key, *_dig_keys, **options) ⇒ Object
Loads a configuration setting from the provider.
-
#name ⇒ String
Returns name of the config value provider.
Instance Method Details
#load(key, *_dig_keys, **options) ⇒ Object
Loads a configuration setting from the provider
31 32 33 34 35 36 |
# File 'lib/container_config/provider/base.rb', line 31 def load(key, *_dig_keys, **) ContainerConfig.logger.debug do "Loading configuration value for #{key} with options #{} from #{self.class}" end nil end |
#name ⇒ String
Returns name of the config value provider
14 15 16 |
# File 'lib/container_config/provider/base.rb', line 14 def name raise ContainerConfig::MissingOverride, "Must override name method in derived class #{self.class}" end |