Class: EntityProjection::Controls::Projection::ApplyMethod::EventData::Example
- Inherits:
-
Object
- Object
- EntityProjection::Controls::Projection::ApplyMethod::EventData::Example
- Includes:
- EntityProjection
- 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
20 21 22 |
# File 'lib/entity_projection/controls/projection.rb', line 20 def apply(event_data) entity.some_attribute = event_data.data[:attribute] end |