class
PlaceOS::Model::GroupHistory::ChangeFeed(T)
- PlaceOS::Model::GroupHistory::ChangeFeed(T)
- Reference
- Object
Overview
Audit trail for changes to Group-system models. Written inside the same transaction as the triggering save/destroy via each model's after-callbacks.
user_id is nullable: it's SET NULL (via the FK) when the acting
user is later deleted. email is preserved so the audit trail stays
readable even after user deletion.
Included Modules
Defined in:
Constructors
Instance Method Summary
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCEif there are no more elements. -
#on(&block : Change(T) -> Nil)
Method expects a block which will get invoked with
Change(T)parameter on change events received fromEventBus -
#stop
Shortcut for
Iterator::Stop::INSTANCE, to signal that there are no more elements in an iterator.
Constructor Detail
Instance Method Detail
Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there
are no more elements.
Method expects a block which will get invoked with Change(T) parameter on change events received from EventBus
Shortcut for Iterator::Stop::INSTANCE, to signal that there are no more elements in an iterator.