Class: EntityProjection::Controls::Projection::BlockAndApplyMethod::Example

Inherits:
Object
  • Object
show all
Includes:
EntityProjection, Messaging::Controls::Message
Defined in:
lib/entity_projection/controls/projection.rb

Instance Method Summary collapse

Methods included from EntityProjection

#apply_event, #apply_event_data, #call, included

Instance Method Details

#apply(event_data) ⇒ Object



46
47
48
# File 'lib/entity_projection/controls/projection.rb', line 46

def apply(event_data)
  event_data.data = 'some data value set by apply method'
end