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.



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

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

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



88
89
90
# File 'lib/zm/client/cluster/cluster_config.rb', line 88

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name.



88
89
90
# File 'lib/zm/client/cluster/cluster_config.rb', line 88

def name
  @name
end