Module: BunnyExtensions::Qrack::Client::Requests
- Included in:
- Qrack::Client
- Defined in:
- lib/bunny_extensions.rb
Instance Method Summary collapse
Instance Method Details
#queue_message_counts(queue_names, queue_options = {}) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/bunny_extensions.rb', line 5 def (queue_names, ={}) ret = {} queue_names.each do |queue_name| queue = self.queue(queue_name, ) ret[queue_name] = queue.status[:message_count] end return ret end |