lib/fog/rackspace/requests/storage/delete_object.rb in fog-1.10.1 vs lib/fog/rackspace/requests/storage/delete_object.rb in fog-1.11.0
- old
+ new
@@ -6,13 +6,13 @@
# Delete an existing object
#
# ==== Parameters
# * container<~String> - Name of container to delete
# * object<~String> - Name of object to delete
- # @raise [Fog::Rackspace::Errors::NotFound] - HTTP 404
- # @raise [Fog::Rackspace::Errors::BadRequest] - HTTP 400
- # @raise [Fog::Rackspace::Errors::InternalServerError] - HTTP 500
- # @raise [Fog::Rackspace::Errors::ServiceError]
+ # @raise [Fog::Storage::Rackspace::NotFound] - HTTP 404
+ # @raise [Fog::Storage::Rackspace::BadRequest] - HTTP 400
+ # @raise [Fog::Storage::Rackspace::InternalServerError] - HTTP 500
+ # @raise [Fog::Storage::Rackspace::ServiceError]
def delete_object(container, object)
request(
:expects => 204,
:method => 'DELETE',
:path => "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}"