Sha256: 5f9389b1db0fd934aacdce192fad98d2f28c290014ff74bc6124bb8d543e4832

Contents?: true

Size: 195 Bytes

Versions: 5

Compression:

Stored size: 195 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Job < ApplicationJob
  rate "10 hours"
  def <%= options[:name] %>
    puts "Do something with event #{JSON.dump(event)}"
  end
end
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/generators/job/templates/event_types/scheduled.rb.tt
jets-5.0.12 lib/jets/generators/job/templates/event_types/scheduled.rb.tt
jets-5.0.11 lib/jets/generators/job/templates/event_types/scheduled.rb.tt
jets-5.0.10 lib/jets/generators/job/templates/event_types/scheduled.rb.tt
jets-5.0.9 lib/jets/generators/job/templates/event_types/scheduled.rb.tt