# File lib/fog/aws/models/glacier/archive.rb, line 31 def destroy requires :id service.delete_archive(vault.id,id) end
# File lib/fog/aws/models/glacier/archive.rb, line 19 def save requires :body, :vault if multipart_chunk_size && body.respond_to?(:read) self.id = multipart_save else data = service.create_archive(vault.id, body, 'description' => description) self.id = data.headers['x-amz-archive-id'] end true end
Generated with the Darkfish Rdoc Generator 2.