class Fog::Terremark::Shared::Images

Public Instance Methods

all() click to toggle source
# File lib/fog/terremark/models/shared/images.rb, line 26
def all
  data = connection.get_catalog(vdc_id).body['CatalogItems'].select do |entity|
    entity['type'] == "application/vnd.vmware.vcloud.catalogItem+xml"
  end
  load(data)
end
vdc_id() click to toggle source
# File lib/fog/terremark/models/shared/images.rb, line 34
def vdc_id
  @vdc_id ||= connection.default_vdc_id
end

Private Instance Methods

vdc_id=(new_vdc_id) click to toggle source
# File lib/fog/terremark/models/shared/images.rb, line 40
def vdc_id=(new_vdc_id)
  @vdc_id = new_vdc_id
end