<% module_namespacing do -%> class <%= class_name %>Worker include Sidekiq::Worker def perform(*args) # Do something end end <% end -%>