File: put_bucket.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 (13 lines) | stat: -rw-r--r-- 243 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Fog
  module Aliyun
    class Storage
      class Real
        def put_bucket(bucket_name, options = {})
          @oss_protocol.create_bucket(bucket_name, options)
        end
      end
    end
  end
end