Class: TemplateAggregate

Inherits:
Sequent::AggregateRoot
  • Object
show all
Defined in:
lib/sequent/generator/template_aggregate/template_aggregate/template_aggregate.rb

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ TemplateAggregate

Returns a new instance of TemplateAggregate.



2
3
4
5
# File 'lib/sequent/generator/template_aggregate/template_aggregate/template_aggregate.rb', line 2

def initialize(command)
  super(command.aggregate_id)
  apply TemplateAggregateAdded
end