Sha256: 1df6cc6140ef3786933b97b12f8c08e29dce8027060e8f5b2b6c5188f28dbbbf
Contents?: true
Size: 569 Bytes
Versions: 59
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences module Admin class SendConferenceDiplomaJob < ApplicationJob queue_as :conference_diplomas def perform(conference) confirmed_registrations = conference.conference_registrations.confirmed return unless confirmed_registrations.any? confirmed_registrations.each do |registration_confirmed| SendConferenceDiplomaMailer.diploma(conference, registration_confirmed.user).deliver_later end end end end end end
Version data entries
59 entries across 59 versions & 1 rubygems