Module: Consul::Migrate

Defined in:
lib/consul/migrate.rb,
lib/consul/migrate/cli.rb,
lib/consul/migrate/error.rb,
lib/consul/migrate/client.rb,
lib/consul/migrate/version.rb,
lib/consul/migrate/defaults.rb

Defined Under Namespace

Classes: Cli, Client, Error

Constant Summary collapse

VERSION =
'0.1.2'
CLIENT_DEFAULTS =
{
  :bind_client => 'localhost',
  :port        => 8500
}

Class Method Summary collapse

Class Method Details

.client(options = {}) ⇒ Object

Delegate to Consul::Migrate::Client



10
11
12
# File 'lib/consul/migrate.rb', line 10

def client(options={})
  Consul::Migrate::Client.new(options)
end