Class: TcServer::Revisions
- Inherits:
-
Shared::MutableCollection
- Object
- Shared::Resource
- Shared::Collection
- Shared::MutableCollection
- TcServer::Revisions
- Defined in:
- lib/vas/tc_server/revisions.rb
Overview
Used to enumerate, create, and delete application revisions.
Instance Attribute Summary
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#create(revision_image) ⇒ Revision
Creates a revision by deploying the revision image.
-
#initialize(location, client) ⇒ Revisions
constructor
A new instance of Revisions.
Methods inherited from Shared::MutableCollection
Methods inherited from Shared::Collection
Constructor Details
Instance Method Details
#create(revision_image) ⇒ Revision
Creates a revision by deploying the revision image
32 33 34 |
# File 'lib/vas/tc_server/revisions.rb', line 32 def create(revision_image) super({ :image => revision_image.location}, 'group-revision') end |