class Dryad::Configuration

Constants

DEFAULT_OPTIONS

Attributes

cluster[RW]
consul[RW]
group[RW]
namespace[RW]
provider[RW]
registry[RW]
service[RW]

Public Class Methods

new(opts = {}) click to toggle source
# File lib/dryad/configuration.rb, line 13
def initialize(opts = {})
  opts = DEFAULT_OPTIONS.merge(opts)
  @consul = opts[:consul]
  @namespace = opts[:namespace]
  @group = opts[:group]
  @registry = opts[:registry]
  @provider = opts[:provider]
  @service = opts[:service]
  @cluster = opts[:cluster]
end