Module: Marvin::Handler

Defined in:
lib/marvin/handler.rb

Instance Method Summary collapse

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(message, opts = {})
  Marvin::Logger.debug "NOP handle - got message #{message.inspect}"
end