Sha256: ad520a6cfef1d75265602a28dc1395ed0ce96491a80cd6e8ff00759010bc6dc3
Contents?: true
Size: 547 Bytes
Versions: 65
Compression:
Stored size: 547 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([service.get_vdc(service.default_vdc_href).resource_entities].flatten.select { |re| re[:type] == "application/vnd.vmware.vcloud.vApp+xml" }) end def get(uri) service.get_vapp(uri) rescue Fog::Errors::NotFound nil end end end end end
Version data entries
65 entries across 65 versions & 6 rubygems