Class: Minke::Config::ConsulLoader

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#config_fileObject

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

#urlObject

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