Sha256: 88b4e87efee6a3dc60d593eb27cbe9270cb0fd7c9a2e2ce3ff6637d4ab5b7378

Contents?: true

Size: 227 Bytes

Versions: 37

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class BlockUserJob < ApplicationJob
    queue_as :block_user

    def perform(user, justification)
      BlockUserMailer.notify(user, justification).deliver_now
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.8 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.7 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.6 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.10 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.9 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.5 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.8 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.4 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.3 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.7 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.5 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.2 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.1 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.4 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.0 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.3 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.0.rc2 app/jobs/decidim/block_user_job.rb
decidim-core-0.27.0.rc1 app/jobs/decidim/block_user_job.rb
decidim-core-0.26.2 app/jobs/decidim/block_user_job.rb