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 -%>