Sha256: c04c99d7027c513bda8961d4e1f9df2eed158cc9829ba1f1090a45843768ee66
Contents?: true
Size: 683 Bytes
Versions: 53
Compression:
Stored size: 683 Bytes
Contents
module Fog module Storage class AWS class Real # Delete policy for a bucket # # @param bucket_name [String] name of bucket to delete policy from # # @return [Excon::Response] response: # * status [Integer] - 204 # # @see http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEpolicy.html def delete_bucket_policy(bucket_name) request({ :expects => 204, :headers => {}, :bucket_name => bucket_name, :method => 'DELETE', :query => {'policy' => nil} }) end end end end end
Version data entries
53 entries across 53 versions & 3 rubygems