Module: Course::ClosingReminderConcern

Extended by:
ActiveSupport::Concern
Included in:
Assessment, Survey, Video
Defined in:
app/models/concerns/course/closing_reminder_concern.rb

Overview

This concern provides common reminder methods for lesson_plan_items, specifically reminders:

  • When the lesson_plan_item is about to close

When including this concern, the model is to implement the following for the reminders:

  • #Model-Name::CloseReminderJob

Note that to prevent duplicate jobs, a random number of milliseconds is added to the date fields for each change to uniquely identify the most current set of jobs.