Class: Messaging::Controls::Handler::BlockAndHandleMethod::Example
- Inherits:
-
Object
- Object
- Messaging::Controls::Handler::BlockAndHandleMethod::Example
- Defined in:
- lib/messaging/controls/handler.rb
Constant Summary
Constants included from Message
Instance Method Summary collapse
Methods included from Message
attribute, data, example, id, message_class, other_attribute, type
Methods included from Handle
#call, #handle_message, #handle_message_data, included, #strict
Instance Method Details
#handle(message_data) ⇒ Object
50 51 52 |
# File 'lib/messaging/controls/handler.rb', line 50 def handle() .data = { attribute: 'some data value set by handler' } end |