Module: Marvin::Handler
- Defined in:
- lib/marvin/handler.rb
Instance Method Summary collapse
-
#handle(message, opts = {}) ⇒ Object
Received a given
messagewith a set of defaultopts(defaulting back to an empty hash), which will be used to perform some sort of action.
Instance Method Details
#handle(message, opts = {}) ⇒ Object
Received a given message with a set of default opts (defaulting back to an empty hash), which will be used to perform some sort of action.
7 8 9 |
# File 'lib/marvin/handler.rb', line 7 def handle(, opts = {}) Marvin::Logger.debug "NOP handle - got message #{message.inspect}" end |