Method: AWS::S3::S3Object#delete
- Defined in:
- lib/aws/s3/s3_object.rb
#delete(options = {}) ⇒ nil
Deletes the object from its S3 bucket.
159 160 161 162 163 164 |
# File 'lib/aws/s3/s3_object.rb', line 159 def delete = {} [:bucket_name] = bucket.name [:key] = key client.delete_object() nil end |