Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Storage::AWS::Version

Public Instance Methods

destroy() click to toggle source
# File lib/fog/aws/models/storage/version.rb, line 25
def destroy
  if collection.file
    collection.service.delete_object(collection.file.directory.key, key, 'versionId' => version)
  else
    collection.service.delete_object(collection.directory.key, key, 'versionId' => version)
  end
end
file() click to toggle source
# File lib/fog/aws/models/storage/version.rb, line 17
def file
  @file ||= if collection.file
    collection.file.directory.files.get(key, 'versionId' => version)
  else
    collection.directory.files.get(key, 'versionId' => version)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.