Sha256: c733ba371f7c173c79646a0d7daa7f739e78b90d29a8ea4a615b02edef43f99f

Contents?: true

Size: 465 Bytes

Versions: 3

Compression:

Stored size: 465 Bytes

Contents

# Encoding: utf-8

require 'etcd/client'
##
# This module provides the Etcd:: name space for the gem and few
# factory methods for Etcd domain objects
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.2.2 lib/etcd.rb
etcd-0.2.1 lib/etcd.rb
etcd-0.2.0.beta.1 lib/etcd.rb