Class: RabbitMq::Plugins
- Inherits:
-
Shared::MutableCollection
- Object
- Shared::Resource
- Shared::Collection
- Shared::MutableCollection
- RabbitMq::Plugins
- Defined in:
- lib/vas/rabbitmq/plugins.rb
Overview
Used to enumerate, create, and delete plugins
Instance Attribute Summary
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#create(plugin_image) ⇒ Plugin
Creates a plugin from the
plugin_image
. -
#initialize(location, client) ⇒ Plugins
constructor
A new instance of Plugins.
Methods inherited from Shared::MutableCollection
Methods inherited from Shared::Collection
Constructor Details
Instance Method Details
#create(plugin_image) ⇒ Plugin
Creates a plugin from the plugin_image
28 29 30 |
# File 'lib/vas/rabbitmq/plugins.rb', line 28 def create(plugin_image) super({:image => plugin_image.location}, 'plugin') end |