lib/bunny/queue.rb in celldee-bunny-0.0.1 vs lib/bunny/queue.rb in celldee-bunny-0.0.2
- old
+ new
@@ -75,9 +75,11 @@
)
)
end
def delete(opts = {})
+ client.queues.delete(name)
+
client.send_frame(
Protocol::Queue::Delete.new({ :queue => name, :nowait => true }.merge(opts))
)
end
\ No newline at end of file