Sha256: 0f22c1917ecaf0b3c63ca4399eea65c0184472147c9ee6defc442ea6c12bac33
Contents?: true
Size: 556 Bytes
Versions: 11
Compression:
Stored size: 556 Bytes
Contents
require 'fog/vcloud/models/compute/vapp' module Fog module Vcloud class Compute class Vapps < Collection model Fog::Vcloud::Compute::Vapp undef_method :create attribute :href def all load([connection.get_vdc(connection.default_vdc_href).resource_entities].flatten.select { |re| re[:type] == "application/vnd.vmware.vcloud.vApp+xml" }) end def get(uri) connection.get_vapp(uri) rescue Fog::Errors::NotFound nil end end end end end
Version data entries
11 entries across 11 versions & 7 rubygems