Class: Zm::Client::ClusterConfigDomain
- Inherits:
-
Object
- Object
- Zm::Client::ClusterConfigDomain
- Defined in:
- lib/zm/client/cluster/cluster_config.rb
Overview
class config for connection
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, key) ⇒ ClusterConfigDomain
constructor
A new instance of ClusterConfigDomain.
Constructor Details
#initialize(name, key) ⇒ ClusterConfigDomain
Returns a new instance of ClusterConfigDomain.
103 104 105 106 |
# File 'lib/zm/client/cluster/cluster_config.rb', line 103 def initialize(name, key) @name = name @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
101 102 103 |
# File 'lib/zm/client/cluster/cluster_config.rb', line 101 def key @key end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
101 102 103 |
# File 'lib/zm/client/cluster/cluster_config.rb', line 101 def name @name end |