Class: Phobos::EchoHandler
- Inherits:
-
Object
- Object
- Phobos::EchoHandler
show all
- Includes:
- Handler
- Defined in:
- lib/phobos/echo_handler.rb
Instance Method Summary
collapse
Methods included from Handler
#before_consume, included
Instance Method Details
#consume(message, metadata) ⇒ Object
5
6
7
|
# File 'lib/phobos/echo_handler.rb', line 5
def consume(message, metadata)
Phobos.logger.info { Hash(message: message).merge(metadata) }
end
|