Class: Alephant::Publisher::BaseProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/alephant/publisher/processor/base.rb

Direct Known Subclasses

Processor

Instance Method Summary collapse

Instance Method Details

#consume(msg) ⇒ Object

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/alephant/publisher/processor/base.rb', line 5

def consume(msg)
  raise NotImplementedError.new("You must implement the #consume(msg) method")
end