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.26.10 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.9 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.8 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.7 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.5 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.4 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.3 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.2 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.1 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.0 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.0.rc2 app/jobs/decidim/user_report_job.rb
decidim-core-0.26.0.rc1 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.2 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.1 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.0 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.0.rc4 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.0.rc3 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.0.rc2 app/jobs/decidim/user_report_job.rb
decidim-core-0.25.0.rc1 app/jobs/decidim/user_report_job.rb
decidim-core-0.24.3 app/jobs/decidim/user_report_job.rb