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

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