Class: Rabbitek::ServerHook

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbitek/server/server_hook.rb

Overview

Base server hook class

Instance Method Summary collapse

Instance Method Details

#call(consumer, message) {|consumer, message| ... } ⇒ Object

Yields:

  • (consumer, message)


7
8
9
# File 'lib/rabbitek/server/server_hook.rb', line 7

def call(consumer, message)
  yield(consumer, message)
end