Sha256: df37f9e872ba4260f4875aee743662a832a2206854924f14994a7cb2e306d993

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

module Fog
  module Aliyun
    class Storage
      class Real
        # Complete a multipart upload
        #
        # @param [String] bucket_name Name of bucket to complete multipart upload for
        # @param [String] object_name Name of object to complete multipart upload for
        # @param [String] upload_id Id of upload to add part to
        # @param [Array] parts Array of etag and number as Strings for parts
        #
        # @see https://help.aliyun.com/document_detail/31995.html
        #
        def complete_multipart_upload(bucket_name, object_name, upload_id, parts)
          @oss_protocol.complete_multipart_upload(bucket_name, object_name, upload_id, parts)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-aliyun-0.4.0 lib/fog/aliyun/requests/storage/complete_multipart_upload.rb
fog-aliyun-0.3.19 lib/fog/aliyun/requests/storage/complete_multipart_upload.rb