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.



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