Class: S3::BucketDeleteRequest
- Defined in:
- lib/s3/bucket_delete_request.rb
Constant Summary
Constants inherited from Request
Request::AWS_ALGORITHM, Request::AWS_REQUEST, Request::SERVICE, Request::UNSIGNED_PAYLOAD
Instance Method Summary collapse
Methods inherited from Request
Constructor Details
This class inherits a constructor from S3::Request
Instance Method Details
#submit(bucket:) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/s3/bucket_delete_request.rb', line 3 def submit( bucket: ) response = delete( "/#{ bucket }" ) build_result( response, TrueClass ) do true end end |