File: initiate_multipart_upload.rb

package info (click to toggle)
ruby-fog-aliyun 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 720 kB
  • sloc: ruby: 5,804; makefile: 6; sh: 3
file content (19 lines) | stat: -rw-r--r-- 557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Fog
  module Aliyun
    class Storage
      class Real
        # Initiate a multipart upload
        #
        # @param bucket_name [String] Name of bucket to create
        # @param object_name [String] Name of object to create
        # @param options [Hash]
        #
        # @see https://help.aliyun.com/document_detail/31992.html
        #
        def initiate_multipart_upload(bucket_name, object_name, options = {})
          @oss_protocol.initiate_multipart_upload(bucket_name, object_name, options)
        end
      end
    end
  end
end