Module: Aggro::Aggregate
Overview
Public: Mixin to turn a PORO into an Aggro aggregate.
Instance Method Summary collapse
Methods included from EventDSL
Instance Method Details
#initialize(id) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/aggro/aggregate.rb', line 8 def initialize(id) @id = id start_projections restore_from_event_stream log INFO, 'Restored to memory' end |