Sha256: 388e5debc7ba521bf4676a435a38544cbb2fb93e72a0478070579b285f9555e5

Contents?: true

Size: 161 Bytes

Versions: 1

Compression:

Stored size: 161 Bytes

Contents

      apply <%= event_class_name %> do |event|
        # Mutate state of aggregate based on event, e.g.
        # @<%= event_name %>_occurred = true
      end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
event_sourcery_generators-0.2.0 lib/event_sourcery_generators/generators/templates/command/aggregate/apply_event_method.rb.tt