Class: Fog::Compute::StormOnDemand::Image
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::StormOnDemand::Image
- Defined in:
- lib/fog/compute/storm_on_demand/models/image.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
16 17 18 19 20 |
# File 'lib/fog/compute/storm_on_demand/models/image.rb', line 16 def destroy requires :identity service.delete_image(:id => identity) true end |
#restore(options = {}) ⇒ Object
27 28 29 30 31 |
# File 'lib/fog/compute/storm_on_demand/models/image.rb', line 27 def restore( = {}) requires :identity service.restore_image({:id => identity}.merge!()) true end |
#update(options = {}) ⇒ Object
22 23 24 25 |
# File 'lib/fog/compute/storm_on_demand/models/image.rb', line 22 def update( = {}) requires :identity service.update_image({:id => identity}.merge!()).body end |