Class: ConsulApplicationSettings::Providers::Abstract
- Inherits:
-
Object
- Object
- ConsulApplicationSettings::Providers::Abstract
- Defined in:
- lib/consul_application_settings/providers/abstract.rb
Overview
Abstract class with basic functionality
Direct Known Subclasses
Instance Method Summary collapse
- #get(_path) ⇒ Object
-
#initialize(base_path, config) ⇒ Abstract
constructor
A new instance of Abstract.
Constructor Details
#initialize(base_path, config) ⇒ Abstract
Returns a new instance of Abstract.
5 6 7 8 |
# File 'lib/consul_application_settings/providers/abstract.rb', line 5 def initialize(base_path, config) @base_path = base_path @config = config end |
Instance Method Details
#get(_path) ⇒ Object
10 11 12 |
# File 'lib/consul_application_settings/providers/abstract.rb', line 10 def get(_path) raise NotImplementedError end |