
module FocusPunch
  class JobGenerator < Rails::Generators::NamedBase
    source_root File.expand_path('templates', __dir__)

    def create_job_file
      template 'job.tt.rb', "app/jobs/#{file_name.underscore}_job.rb"
    end

  end
end
