Class: Mafia::DefaultConsumer

Inherits:
Object
  • Object
show all
Defined in:
lib/mafia/default_consumer.rb

Class Method Summary collapse

Class Method Details

.process(*args) ⇒ Object



3
4
5
6
# File 'lib/mafia/default_consumer.rb', line 3

def self.process(*args)
  routing_key = args.pop
  raise "Called DefaultConsumer with args #{args}, routing key: #{routing_key}"
end