Sha256: cf25ec10adf3040430a29230d7486622b9dca84ab1e2592f706f7e9fee96a50f
Contents?: true
Size: 577 Bytes
Versions: 2
Compression:
Stored size: 577 Bytes
Contents
module Fog module VcloudDirector class Compute class Media < Model identity :id attribute :href attribute :type attribute :name attribute :status, :type => :integer attribute :image_type, :aliases => :imageType attribute :size, :type => :integer attribute :description, :aliases => :Description # @return [Boolean] def destroy requires :id response = service.delete_media(id) service.process_task(response.body) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-vcloud-director-0.3.1 | lib/fog/vcloud_director/models/compute/media.rb |
fog-vcloud-director-0.3.0 | lib/fog/vcloud_director/models/compute/media.rb |