Class: Course::Video::ReminderService

Inherits:
Object
  • Object
show all
Defined in:
app/services/course/video/reminder_service.rb

Instance Method Summary collapse

Instance Method Details

#closing_reminder(user, video, token) ⇒ Object


7
8
9
10
11
# File 'app/services/course/video/reminder_service.rb', line 7

def closing_reminder(user, video, token)
  return unless video.closing_reminder_token == token && video.published?

  Course::VideoNotifier.video_closing(user, video)
end