Module: Decidim::Events::EmailEvent
- Extended by:
- ActiveSupport::Concern
- Included in:
- Comments::CommentCreatedEvent, DummyResourceEvent, Meetings::CloseMeetingEvent, Meetings::MeetingRegistrationsEnabledEvent, Meetings::MeetingRegistrationsOverPercentageEvent, Meetings::UpcomingMeetingEvent, Meetings::UpdateMeetingEvent
- Defined in:
- decidim-core/lib/decidim/events/email_event.rb
Overview
This module is used to be included in event classes (those inheriting from ‘Decidim::Events::BaseEvent`) that need to send emails with the notification.
This modules adds the needed logic to deliver emails to a given user.
Example:
class MyEvent < Decidim::Events::BaseEvent
include Decidim::Events::EmailEvent
end