ruby-amqp / rabbitmq_http_api_client

RabbitMQ HTTP API client for Ruby
MIT License
79 stars 49 forks source link

delete_exchange support for if-unused option #24

Closed deadtrickster closed 8 years ago

deadtrickster commented 8 years ago

From HTTP API docs

When DELETEing an exchange you can add the query string parameter if-unused=true. 
This prevents the delete from succeeding if the exchange is bound to a queue or as 
a source to another exchange.
deadtrickster commented 8 years ago

now using req.params