Class: RabbitMq::PluginImages
- Inherits:
-
Shared::MutableCollection
- Object
- Shared::Resource
- Shared::Collection
- Shared::MutableCollection
- RabbitMq::PluginImages
- Defined in:
- lib/vas/rabbitmq/plugin_images.rb
Overview
Used to enumerate, create, and delete RabbitMQ plugin images
Instance Attribute Summary
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#create(path) ⇒ PluginImage
Creates a new plugin image by uploading a file.
-
#initialize(location, client) ⇒ PluginImages
constructor
A new instance of PluginImages.
Methods inherited from Shared::MutableCollection
Methods inherited from Shared::Collection
Constructor Details
#initialize(location, client) ⇒ PluginImages
Returns a new instance of PluginImages.
23 24 25 |
# File 'lib/vas/rabbitmq/plugin_images.rb', line 23 def initialize(location, client) super(location, client, "plugin-images", PluginImage) end |
Instance Method Details
#create(path) ⇒ PluginImage
Creates a new plugin image by uploading a file
32 33 34 |
# File 'lib/vas/rabbitmq/plugin_images.rb', line 32 def create(path) create_image(path) end |