Method: Totoro::Config#queue

Defined in:
lib/totoro/config.rb

#queue(id) ⇒ Object



46
47
48
49
50
# File 'lib/totoro/config.rb', line 46

def queue(id)
  name = @data[:queue][id][:name]
  settings = { durable: @data[:queue][id][:durable] }
  [name, settings]
end