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.



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

#keyObject (readonly)

Returns the value of attribute key.



101
102
103
# File 'lib/zm/client/cluster/cluster_config.rb', line 101

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name.



101
102
103
# File 'lib/zm/client/cluster/cluster_config.rb', line 101

def name
  @name
end