Sha256: f04f193c5c2d3b6e70aac6ce03cc6de1d37285869f644265a1722b63d02306cb

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

module Fog
  module Storage
    class Aliyun
      class Real
        def put_bucket(bucketName)
          resource = bucketName + '/'
          ret = request(
            expects: [200, 203],
            method: 'PUT',
            resource: resource,
            bucket: bucketName
          )
        end
      end

      class Mock
        def put_bucket(bucketName)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
fog-aliyun-0.3.0 lib/fog/aliyun/requests/storage/put_bucket.rb
fog-aliyun-0.2.2 lib/fog/aliyun/requests/storage/put_bucket.rb
fog-xiaozhu-0.2.2 lib/fog/aliyun/requests/storage/put_bucket.rb
fog-xiaozhu-0.2.1 lib/fog/aliyun/requests/storage/put_bucket.rb
fog-aliyun-0.2.1 lib/fog/aliyun/requests/storage/put_bucket.rb
fog-aliyun-0.2.0 lib/fog/aliyun/requests/storage/put_bucket.rb