module ConsulApplicationSettings

The gem provides possibility to load settings from Consul and automatically fall back to data stored in file system

Constants

VERSION

Attributes

config[RW]
defaults[RW]

Public Class Methods

configure() { |config| ... } click to toggle source
# File lib/consul_application_settings.rb, line 21
def self.configure
  yield(config)
end
load(path = '') click to toggle source
# File lib/consul_application_settings.rb, line 25
def self.load(path = '')
  Reader.new(path, config)
end