Class: ProcessWanker::ConfigClientClustersBuilder
- Defined in:
- lib/config/config_client_clusters.rb
Instance Method Summary collapse
Methods inherited from Builder
Instance Method Details
#auth(&block) ⇒ Object
55 56 57 |
# File 'lib/config/config_client_clusters.rb', line 55 def auth(&block) @config.auth=Deferred.new(@config,[],block,ConfigAuthBuilder) end |
#cluster(name, &block) ⇒ Object
50 51 52 53 |
# File 'lib/config/config_client_clusters.rb', line 50 def cluster(name,&block) cluster=Deferred.new(@config,[name],block,ConfigClientClusterBuilder) @config.clusters[name]=cluster end |