lib/fog/rackspace/requests/queues/delete_queue.rb in fog-1.22.0 vs lib/fog/rackspace/requests/queues/delete_queue.rb in fog-1.22.1
- old
+ new
@@ -1,11 +1,9 @@
module Fog
module Rackspace
class Queues
-
class Real
-
# This operation immediately deletes a queue and all of its existing messages.
#
# @param [String] queue_name Specifies the name of the queue.
# @return [Excon::Response] response
# @raise [Fog::Rackspace::Queues::NotFound] - HTTP 404
@@ -18,20 +16,18 @@
:expects => 204,
:method => 'DELETE',
:path => "queues/#{queue_name}"
)
end
-
end
class Mock
def delete_queue(queue_name)
data.delete(queue_name)
response = Excon::Response.new
response.status = 204
response
end
end
-
end
end
end