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
#around_consume, included
Instance Method Details
#consume(message, metadata) ⇒ Object
7
8
9
|
# File 'lib/phobos/echo_handler.rb', line 7
def consume(message, metadata)
Phobos.logger.info { Hash(message: message).merge(metadata) }
end
|