Sha256: 3bf7e8ab1b67e03239298f8bb2d1c5857243bf222529c65d042950b4157d3069

Contents?: true

Size: 176 Bytes

Versions: 201

Compression:

Stored size: 176 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Job < ApplicationJob
  queue_as :<%= options[:queue] %>

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

Version data entries

201 entries across 197 versions & 14 rubygems

Version Path
activejob-6.0.5.1 lib/rails/generators/job/templates/job.rb.tt
activejob-5.2.8.1 lib/rails/generators/job/templates/job.rb.tt
activejob-5.2.8 lib/rails/generators/job/templates/job.rb.tt
activejob-6.0.5 lib/rails/generators/job/templates/job.rb.tt
activejob-6.1.6 lib/rails/generators/job/templates/job.rb.tt
activejob-7.0.3 lib/rails/generators/job/templates/job.rb.tt
activejob-7.0.2.4 lib/rails/generators/job/templates/job.rb.tt
activejob-6.1.5.1 lib/rails/generators/job/templates/job.rb.tt
activejob-6.0.4.8 lib/rails/generators/job/templates/job.rb.tt
activejob-5.2.7.1 lib/rails/generators/job/templates/job.rb.tt
activejob-5.2.7 lib/rails/generators/job/templates/job.rb.tt
activejob-6.1.5 lib/rails/generators/job/templates/job.rb.tt
activejob-7.0.2.3 lib/rails/generators/job/templates/job.rb.tt
activejob-6.1.4.7 lib/rails/generators/job/templates/job.rb.tt
activejob-6.0.4.7 lib/rails/generators/job/templates/job.rb.tt
activejob-5.2.6.3 lib/rails/generators/job/templates/job.rb.tt
activejob-7.0.2.2 lib/rails/generators/job/templates/job.rb.tt
activejob-6.1.4.6 lib/rails/generators/job/templates/job.rb.tt
activejob-6.0.4.6 lib/rails/generators/job/templates/job.rb.tt
activejob-5.2.6.2 lib/rails/generators/job/templates/job.rb.tt