lib/etcd/client.rb in etcd-0.2.3 vs lib/etcd/client.rb in etcd-0.2.4

- old
+ new

@@ -6,12 +6,10 @@ require 'json' require 'etcd/log' require 'etcd/stats' require 'etcd/keys' require 'etcd/exceptions' -require 'etcd/mod/lock' -require 'etcd/mod/leader' module Etcd ## # This is the central ruby class for Etcd. It provides methods for all # etcd api calls. It also provides few additional methods beyond the core @@ -25,11 +23,9 @@ HTTP_SUCCESS = ->(r) { r.is_a? Net::HTTPSuccess } HTTP_CLIENT_ERROR = ->(r) { r.is_a? Net::HTTPClientError } include Stats include Keys - include Mod::Lock - include Mod::Leader Config = Struct.new(:use_ssl, :verify_mode, :read_timeout, :ssl_key, :ca_file, :user_name, :password, :allow_redirect, :ssl_cert) def_delegators :@config, :use_ssl, :verify_mode, :read_timeout