Sha256: ed629cd6b19d604657db72f3ee97e2844c840a34498afeb2dd663a13264e5941

Contents?: true

Size: 447 Bytes

Versions: 3

Compression:

Stored size: 447 Bytes

Contents

##
# This module provides the Etcd:: name space for the gem and few 
# factory methods for Etcd domain objects
require 'etcd/client'
module Etcd

  ##
  # Create and return a Etcd::Client object. It takes a hash +opts+
  # as an argument which gets passed to the Etcd::Client.new method
  # directly
  # If +opts+ is not passed default options are used, defined by Etcd::Client.new
  def self.client(opts={})
    Etcd::Client.new(opts)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
etcd-0.0.6 lib/etcd.rb
etcd-0.0.5 lib/etcd.rb
etcd-0.0.4 lib/etcd.rb