Class: Zm::Client::ClusterConfigDomain

Inherits:
Object
  • Object
show all
Defined in:
lib/zm/client/cluster/cluster_config.rb

Overview

class config for connection

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, key) ⇒ ClusterConfigDomain

Returns a new instance of ClusterConfigDomain.



93
94
95
96
# File 'lib/zm/client/cluster/cluster_config.rb', line 93

def initialize(name, key)
  @name = name
  @key = key
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



91
92
93
# File 'lib/zm/client/cluster/cluster_config.rb', line 91

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name.



91
92
93
# File 'lib/zm/client/cluster/cluster_config.rb', line 91

def name
  @name
end