Class: TwoPercent::Domain::Events::GroupUpdated
- Inherits:
-
BaseEvent
- Object
- AetherObservatory::EventBase
- BaseEvent
- TwoPercent::Domain::Events::GroupUpdated
- Defined in:
- lib/two_percent/domain/events/group_events.rb
Overview
Domain event: Group was updated
Instance Method Summary collapse
-
#apply_to_model(model_class) ⇒ Object
Apply this event to a domain model class.
- #group_id ⇒ Object
Instance Method Details
#apply_to_model(model_class) ⇒ Object
Apply this event to a domain model class
35 36 37 |
# File 'lib/two_percent/domain/events/group_events.rb', line 35 def apply_to_model(model_class) model_class.syncable_model.sync_updated(group_attributes, model_class) end |
#group_id ⇒ Object
30 31 32 |
# File 'lib/two_percent/domain/events/group_events.rb', line 30 def group_id group_attributes[:scim_id] end |