Class: TemplateAggregate
- Inherits:
-
Sequent::AggregateRoot
- Object
- TemplateAggregate
- Defined in:
- lib/sequent/generator/template_aggregate/template_aggregate/template_aggregate.rb
Instance Method Summary collapse
-
#initialize(command) ⇒ TemplateAggregate
constructor
A new instance of TemplateAggregate.
Constructor Details
#initialize(command) ⇒ TemplateAggregate
Returns a new instance of TemplateAggregate.
4 5 6 7 |
# File 'lib/sequent/generator/template_aggregate/template_aggregate/template_aggregate.rb', line 4 def initialize(command) super(command.aggregate_id) apply TemplateAggregateAdded end |