Sha256: a6b86e3dc3b90dbb1f2af8a959f11a61d299df5030bafd78b09b64939d4a4aac

Contents?: true

Size: 244 Bytes

Versions: 25

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class UserReportJob < ApplicationJob
    queue_as :user_report

    def perform(admin, token, reason, user)
      UserReportMailer.notify(admin, token, reason, user).deliver_now
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-core-0.24.2 app/jobs/decidim/user_report_job.rb
decidim-core-0.24.1 app/jobs/decidim/user_report_job.rb
decidim-core-0.24.0 app/jobs/decidim/user_report_job.rb
decidim-core-0.24.0.rc2 app/jobs/decidim/user_report_job.rb
decidim-core-0.24.0.rc1 app/jobs/decidim/user_report_job.rb