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.15.5 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.4 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.3 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.2 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.1 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.15.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.9 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.8 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.7 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.6 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.5 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.4 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.3 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.2 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.1 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.14.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.13.1 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.13.0 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.12.9 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb
think_feel_do_engine-3.12.8 app/mailers/think_feel_do_engine/lesson_notification_mailer.rb