aboutsummaryrefslogblamecommitdiffstats
path: root/activejob/lib/rails/generators/job/templates/job.rb.tt
blob: 4ad2914a45a85aaf5f2545b9d538dd1fe5f2cd7b (plain) (tree)
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 -%>