Class: ProcessWanker::ConfigClientClusterBuilder

Inherits:
Builder
  • Object
show all
Defined in:
lib/config/config_client_cluster.rb

Instance Method Summary collapse

Methods inherited from Builder

#build, #klass

Instance Method Details

#auth(&block) ⇒ Object



49
50
51
# File 'lib/config/config_client_cluster.rb', line 49

def auth(&block)
	@config.auth=Deferred.new(@config,[],block,ConfigAuthBuilder)
end

#host(name, &block) ⇒ Object



53
54
55
# File 'lib/config/config_client_cluster.rb', line 53

def host(name,&block)
	@config.hosts[name]=Deferred.new(@config,[name],block,ConfigClientHostBuilder)
end