Sha256: 0037e551ce1bb3d5cee1d83385c313afb8ff567a5c250e0263632c6c9ae0f6cf

Contents?: true

Size: 488 Bytes

Versions: 55

Compression:

Stored size: 488 Bytes

Contents

module ThinkFeelDoEngine
  # Sends a new lesson notification to a given participant.
  class LessonNotificationMailer < ActionMailer::Base
    default(
      from: Rails.configuration.action_mailer.default_options[:from])

    def lesson_notification_email(
      application_name:, lesson_module:, participant_email:)
      @application_name = application_name
      @lesson = lesson_module
      mail(to: participant_email,
           subject: "New Lesson Available")
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
think_feel_do_engine-3.19.9 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.8 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.7 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.6 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.5 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.4 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.3 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.2 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.1 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.19.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.18.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.17.2 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.17.1 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.17.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.16.3 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.16.2 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.16.1 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.7 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.16.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.6 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb