Method: Deltacloud::Client::Methods::Blob#destroy_blob
- Defined in:
- lib/deltacloud/client/methods/blob.rb
#destroy_blob(bucket_id, blob_id) ⇒ Object
Destroy given bucket blob
60 61 62 63 64 |
# File 'lib/deltacloud/client/methods/blob.rb', line 60 def destroy_blob(bucket_id, blob_id) must_support! :buckets r = connection.delete(api_uri("buckets/#{bucket_id}/#{blob_id}")) r.status == 204 end |