Sha256: 569a84c4ad2767a53524ec7564cb72366ac28b668f4f80547ab067bac0914017
Contents?: true
Size: 639 Bytes
Versions: 29
Compression:
Stored size: 639 Bytes
Contents
module Fog class Vcloud module Terremark class Ecloud class Catalog < Fog::Vcloud::Collection model Fog::Vcloud::Terremark::Ecloud::CatalogItem attribute :href, :aliases => :Href def all check_href! if data = connection.get_catalog(href).body[:CatalogItems][:CatalogItem] load(data) end end def get(uri) if data = connection.get_catalog_item(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end end
Version data entries
29 entries across 29 versions & 3 rubygems