Class: RabbitMq::Instances
- Inherits:
-
Shared::MutableCollection
- Object
- Shared::Resource
- Shared::Collection
- Shared::MutableCollection
- RabbitMq::Instances
- Defined in:
- lib/vas/rabbitmq/instances.rb
Overview
Used to enumerate, create, and delete RabbitMQ instances
Instance Attribute Summary
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#create(installation, name) ⇒ Instance
Creates a new instance.
-
#initialize(location, client) ⇒ Instances
constructor
A new instance of Instances.
Methods inherited from Shared::MutableCollection
Methods inherited from Shared::Collection
Constructor Details
Instance Method Details
#create(installation, name) ⇒ Instance
Creates a new instance
33 34 35 36 |
# File 'lib/vas/rabbitmq/instances.rb', line 33 def create(installation, name) payload = { :installation => installation.location, :name => name } super(payload, 'group-instance') end |