Class: Minke::Config::ConsulLoader
- Inherits:
-
Object
- Object
- Minke::Config::ConsulLoader
- Defined in:
- lib/minke/config/consul_loader.rb
Overview
ConsulLoader defines the settings and url to be loaded into a running consul instance.
Instance Attribute Summary collapse
-
#config_file ⇒ Object
config_file points to a yaml file of key values to load into consul.
-
#url ⇒ Object
url is the url to the running consul instance into which the keys and values will be loaded.
Instance Attribute Details
#config_file ⇒ Object
config_file points to a yaml file of key values to load into consul.
- Required
10 11 12 |
# File 'lib/minke/config/consul_loader.rb', line 10 def config_file @config_file end |
#url ⇒ Object
url is the url to the running consul instance into which the keys and values will be loaded.
- Required
16 17 18 |
# File 'lib/minke/config/consul_loader.rb', line 16 def url @url end |