Method: Messaging::Routes#consumer
- Defined in:
- lib/messaging/routes.rb
#consumer(name, **options, &block) ⇒ Object
Creates a consumer for the default adapter
11 12 13 |
# File 'lib/messaging/routes.rb', line 11 def consumer(name, **, &block) consumer_definitions[name] = { options: , block: block } end |