Module: Etcd

Defined in:
lib/etcd.rb

Class Method Summary collapse

Class Method Details

.client(opts = {}) ⇒ Object



4
5
6
7
8
# File 'lib/etcd.rb', line 4

def self.client(opts = {})
  @client ||= MockEtcd::Client.new(opts) do |config|
    yield config if block_given?
  end
end