lib/fog/rackspace/requests/compute_v2/delete_server.rb in fog-1.10.1 vs lib/fog/rackspace/requests/compute_v2/delete_server.rb in fog-1.11.0
- old
+ new
@@ -4,13 +4,13 @@
class Real
# Deletes a specified server instance from the system.
# @param [String] server_id the id of the server to delete
# @return [Excon::Response] response
- # @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::Compute::RackspaceV2::NotFound] - HTTP 404
+ # @raise [Fog::Compute::RackspaceV2::BadRequest] - HTTP 400
+ # @raise [Fog::Compute::RackspaceV2::InternalServerError] - HTTP 500
+ # @raise [Fog::Compute::RackspaceV2::ServiceError]
# @see http://docs.rackspace.com/servers/api/v2/cs-devguide/content/Delete_Server-d1e2883.html
def delete_server(server_id)
request(
:expects => [204],
:method => 'DELETE',