Sha256: 6ca6a2d1786eed1cf9894e3686ae8a2336946ccdc777dc43f50cc136f6782024
Contents?: true
Size: 731 Bytes
Versions: 4
Compression:
Stored size: 731 Bytes
Contents
# frozen_string_literal: true module Fog module Aliyun class Storage class Real # Delete an existing container # # ==== Parameters # * container<~String> - Name of container to delete # * options # def delete_container(container, options = {}) bucket = options[:bucket] bucket ||= @aliyun_oss_bucket object = container + '/' resource = bucket + '/' + object request( expects: 204, method: 'DELETE', path: object, bucket: bucket, resource: resource, location: get_bucket_location(bucket) ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems