Sha256: 52620313fd48810529b17b2b66c07609f289b999d36f96502686f1f7df0cfc9e
Contents?: true
Size: 779 Bytes
Versions: 2
Compression:
Stored size: 779 Bytes
Contents
module Fog module Aliyun class Storage class Real # Upload a part for a multipart upload # # @param bucket_name [String] Name of bucket to add part to # @param object_name [String] Name of object to add part to # @param upload_id [String] Id of upload to add part to # @param part_number [String] Index of part in upload # @param data [File||String] Content for part # # @see https://help.aliyun.com/document_detail/31993.html # def upload_part(bucket_name, object_name, upload_id, part_number, data) @oss_protocol.upload_part(bucket_name, object_name, upload_id, part_number) do |sw| sw.write(data) end 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/upload_part.rb |
fog-aliyun-0.3.19 | lib/fog/aliyun/requests/storage/upload_part.rb |