Class: Gemfire::PendingApplicationCodes
- Inherits:
-
Shared::MutableCollection
- Object
- Shared::Resource
- Shared::Collection
- Shared::MutableCollection
- Gemfire::PendingApplicationCodes
- Defined in:
- lib/vas/gemfire/pending_application_codes.rb
Overview
Used to enumerate, create, and delete a cache server’s pending application code.
Instance Attribute Summary
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#create(image) ⇒ ApplicationCode
Creates a new pending application code.
-
#initialize(location, client) ⇒ PendingApplicationCodes
constructor
A new instance of PendingApplicationCodes.
Methods inherited from Shared::MutableCollection
Methods inherited from Shared::Collection
Constructor Details
#initialize(location, client) ⇒ PendingApplicationCodes
Returns a new instance of PendingApplicationCodes.
23 24 25 |
# File 'lib/vas/gemfire/pending_application_codes.rb', line 23 def initialize(location, client) super(location, client, 'pending-application-code', PendingApplicationCode) end |
Instance Method Details
#create(image) ⇒ ApplicationCode
Creates a new pending application code
32 33 34 |
# File 'lib/vas/gemfire/pending_application_codes.rb', line 32 def create(image) super({:image => image.location}) end |