Sha256: f165e8793f9529e05b080d0a8d41b8b235b098be86c5c1e45dffe75fe3c66e72

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 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

1 entries across 1 versions & 1 rubygems

Version Path
etcd-0.2.0.alpha lib/etcd.rb