Class: Decidim::BlockUserJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/decidim/block_user_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(user, justification) ⇒ Object



7
8
9
# File 'app/jobs/decidim/block_user_job.rb', line 7

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