Class: Events::AccountInvited
- Inherits:
-
ApplicationEvent
- Object
- RubyEventStore::Event
- ApplicationEvent
- Events::AccountInvited
- Defined in:
- app/events/events.rb
Overview
Published by Account::Inviter after an online account is invited, unless
delivery was skipped. AccountInvitedHandler sends the Devise invitation
email off the request path — deliver_invitation regenerates the raw
invitation token in-process (only its digest is persisted, so the token
doesn't survive the async boundary), keeping the emailed accept link valid.
Payload:
account_id: Integer