Sha256: 23f18068b8bb9ff62778f9ee7c800dceb010e4e3d754f486fc2c70ed40e893e7

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

require "diplomat"
require "dryad"
require "dryad/consul/version"
require "dryad/consul/service_client"
require "dryad/consul/service_registry"
require "dryad/consul/service"
require "dryad/consul/key_value_client"
require "dryad/consul/config_provider"

module Dryad
  module Consul
    class Error < StandardError; end

    ::Diplomat.configure do |config|
      config.url = "http://#{Dryad.configuration.consul[:host]}:#{Dryad.configuration.consul[:port]}"
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
dryad-0.2.0 dryad-consul/lib/dryad/consul.rb
dryad-consul-0.2.0 lib/dryad/consul.rb