Sha256: 7023e2cd32bea505d8649f19dd9c4c82ef89254beb75bdcc5d51e5e28f505cc4
Contents?: true
Size: 595 Bytes
Versions: 13
Compression:
Stored size: 595 Bytes
Contents
= Jobs Decidim jobs classes are not do not implement anything different than what `ActiveJob` has to offer. Jobs classes are located in the `app/jobs/decidim/<my_module>` directory, and named: `<my_custom>_job.rb`. ```ruby # frozen_string_literal: true # app/jobs/decidim/my_module/my_custom_job.rb module Decidim module MyModule class MyCustomJob < ActiveJob::Base queue_as :default def perform(*args) # Do something later end end end end ``` == More information - https://edgeguides.rubyonrails.org/active_job_basics.html[Active Job documentation]
Version data entries
13 entries across 13 versions & 1 rubygems