Class: Aeolus::Image::Warehouse::ProviderImage
- Inherits:
-
WarehouseModel
- Object
- WarehouseModel
- Aeolus::Image::Warehouse::ProviderImage
- Defined in:
- lib/aeolus_image/model/warehouse/provider_image.rb
Instance Attribute Summary
Attributes inherited from WarehouseModel
Instance Method Summary collapse
-
#delete! ⇒ Object
Deletes this provider image.
- #provider_name ⇒ Object
- #target_image ⇒ Object
Methods inherited from WarehouseModel
#==, all, #bucket_object, bucket_objects, config, config=, create!, delete, find, first, #id, #initialize, iwhd_url, last, oauth_consumer_key, oauth_consumer_secret, #set_attr, set_warehouse_and_bucket, use_oauth?, where
Constructor Details
This class inherits a constructor from Aeolus::Image::Warehouse::WarehouseModel
Instance Method Details
#delete! ⇒ Object
Deletes this provider image
30 31 32 |
# File 'lib/aeolus_image/model/warehouse/provider_image.rb', line 30 def delete! ProviderImage.delete(@uuid) end |
#provider_name ⇒ Object
25 26 27 |
# File 'lib/aeolus_image/model/warehouse/provider_image.rb', line 25 def provider_name @provider end |
#target_image ⇒ Object
21 22 23 |
# File 'lib/aeolus_image/model/warehouse/provider_image.rb', line 21 def target_image TargetImage.find(@target_image) if @target_image end |