Class: Shared::Installations Abstract
- Inherits:
-
MutableCollection
- Object
- Resource
- Collection
- MutableCollection
- Shared::Installations
- Defined in:
- lib/vas/shared/installations.rb
Overview
This class is abstract.
A collection of installations
Direct Known Subclasses
Gemfire::Installations, RabbitMq::Installations, Sqlfire::Installations, TcServer::Installations, WebServer::Installations
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
-
#create(installation_image) ⇒ Installation
Creates a new installation.
-
#initialize(location, client, installation_class) ⇒ Installations
constructor
A new instance of Installations.
Methods inherited from MutableCollection
Methods inherited from Collection
Constructor Details
#initialize(location, client, installation_class) ⇒ Installations
Returns a new instance of Installations.
23 24 25 |
# File 'lib/vas/shared/installations.rb', line 23 def initialize(location, client, installation_class) super(location, client, 'installations', installation_class) end |
Instance Method Details
#create(installation_image) ⇒ Installation
Creates a new installation
32 33 34 |
# File 'lib/vas/shared/installations.rb', line 32 def create(installation_image) super({ :image => installation_image.location }, 'installation') end |