Class: RabbitMq::Installation

Inherits:
Shared::Installation show all
Defined in:
lib/vas/rabbitmq/installations.rb

Overview

A RabbitMQ installation

Instance Attribute Summary

Attributes inherited from Shared::Installation

#group, #installation_image, #version

Attributes inherited from Shared::Resource

#location, #security

Instance Method Summary collapse

Methods inherited from Shared::Installation

#to_s

Constructor Details

#initialize(location, client) ⇒ Installation

Returns a new instance of Installation.



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

def initialize(location, client)
  super(location, client, InstallationImage, Group)
end

Instance Method Details

#instancesInstance[]

Returns the instances that are using the installation.

Returns:

  • (Instance[])

    the instances that are using the installation



38
39
40
# File 'lib/vas/rabbitmq/installations.rb', line 38

def instances
  retrieve_instances("group-instance", Instance);
end