Class: Fog::Compute::Terremark::Images
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Terremark::Images
- Defined in:
- lib/fog/compute/terremark/models/images.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
7 8 9 10 11 12 |
# File 'lib/fog/compute/terremark/models/images.rb', line 7 def all data = service.get_catalog(vdc_id).body["CatalogItems"].select do |entity| entity["type"] == "application/vnd.vmware.vcloud.catalogItem+xml" end load(data) end |
#vdc_id ⇒ Object
14 15 16 |
# File 'lib/fog/compute/terremark/models/images.rb', line 14 def vdc_id @vdc_id ||= service.default_vdc_id end |