Class: Events::AccountInvited

Inherits:
ApplicationEvent show all
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

Method Summary

Methods inherited from ApplicationEvent

#data