Class: Aggregates::CommandProcessor
- Inherits:
-
Object
- Object
- Aggregates::CommandProcessor
- Includes:
- MessageProcessor
- Defined in:
- lib/aggregates/command_processor.rb
Overview
A command processor is a type that correlates commands to operations on an aggregate root.
Direct Known Subclasses
Instance Method Summary collapse
Methods included from MessageProcessor
#handle_message, included, #invoke_handlers, #with_message_handlers
Instance Method Details
#process(execution) ⇒ Object
12 13 14 |
# File 'lib/aggregates/command_processor.rb', line 12 def process(execution) execution.execute_with(self) end |