Sha256: e8bcb186f08446cd19d54b496f17b82f8d2937ae72fec1d974c7b30160cce16b
Contents?: true
Size: 538 Bytes
Versions: 11
Compression:
Stored size: 538 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(self.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 & 5 rubygems