openSUSE/osem

View on GitHub
app/jobs/conference_registration_date_update_mail_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class ConferenceRegistrationDateUpdateMailJob < ApplicationJob
  queue_as :default

  def perform(conference)
    conference.subscriptions.each do |subscription|
      Mailbot.conference_registration_date_update_mail(conference, subscription.user).deliver_now
    end
  end
end