Class: RabbitMq::Group

Inherits:
Shared::Group show all
Defined in:
lib/vas/rabbitmq/groups.rb

Overview

A Rabbit group

Instance Attribute Summary collapse

Attributes inherited from Shared::Group

#installations, #name

Attributes inherited from Shared::Resource

#location, #security

Instance Method Summary collapse

Methods inherited from Shared::Group

#nodes, #to_s

Constructor Details

#initialize(location, client) ⇒ Group

:nodoc:#



35
36
37
38
# File 'lib/vas/rabbitmq/groups.rb', line 35

def initialize(location, client) #:nodoc:#
  super(location, client, Node, Installations)
  @instances = Instances.new(Util::LinkUtils.get_link_href(details, "group-instances"), client)
end

Instance Attribute Details

#instancesObject (readonly)

The group’s instances



33
34
35
# File 'lib/vas/rabbitmq/groups.rb', line 33

def instances
  @instances
end