Class: ProcessWanker::ConfigClientCluster

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

Instance Attribute Summary collapse

Attributes inherited from ConfigNode

#container

Instance Method Summary collapse

Methods inherited from ConfigNode

#find_attributes, #get_auth

Constructor Details

#initialize(name) ⇒ ConfigClientCluster

Returns a new instance of ConfigClientCluster.



34
35
36
37
# File 'lib/config/config_client_cluster.rb', line 34

def initialize(name)
	@name=name
	@hosts={}
end

Instance Attribute Details

#authObject

Returns the value of attribute auth.



31
32
33
# File 'lib/config/config_client_cluster.rb', line 31

def auth
  @auth
end

#hostsObject

Returns the value of attribute hosts.



32
33
34
# File 'lib/config/config_client_cluster.rb', line 32

def hosts
  @hosts
end

#nameObject

Returns the value of attribute name.



30
31
32
# File 'lib/config/config_client_cluster.rb', line 30

def name
  @name
end