Sha256: 5084ca48e299b9d1a1cdf5d94fea76715c3bf91e902d94f89d6219e839a1d310
Contents?: true
Size: 907 Bytes
Versions: 37
Compression:
Stored size: 907 Bytes
Contents
module Fog module Storage class InternetArchive class Real # # Abort a multipart upload # # @param [String] bucket_name Name of bucket to abort multipart upload on # @param [String] object_name Name of object to abort multipart upload on # @param [String] upload_id Id of upload to add part to # # @see http://docs.amazonwebservices.com/AmazonS3/latest/API/mpUploadAbort.html # def abort_multipart_upload(bucket_name, object_name, upload_id) request({ :expects => 204, :headers => {}, :host => "#{bucket_name}.#{@host}", :method => 'DELETE', :path => CGI.escape(object_name), :query => {'uploadId' => upload_id} }) end end # Real end # Storage end # InternetArchive end # Fog
Version data entries
37 entries across 35 versions & 6 rubygems