aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/rails/generators/job/templates/job.rb
blob: 462c71d9170f3a2a4dd1018e8be950c90ed4c406 (plain) (blame)
1
2
3
4
5
6
7
8
9
<% module_namespacing do -%>
class <%= class_name %>Job < ActiveJob::Base
  queue_as :<%= options[:queue] %>

  def perform(*args)
    # Do something later
  end
end
<% end -%>