class Aggregates::CommandProcessor

A command processor is a type that correlates commands to operations on an aggregate root.

Public Instance Methods

process(execution) click to toggle source
# File lib/aggregates/command_processor.rb, line 12
def process(execution)
  execution.execute_with(self)
end