Sha256: aa9af257a88fc2b4b6fcad21b65eb194a4423838d55127310482b1ae4b2adaa1

Contents?: true

Size: 198 Bytes

Versions: 15

Compression:

Stored size: 198 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Job < ApplicationJob
  iot_event "SELECT * FROM 'my/topic'"
  def <%= options[:name] %>
    puts "event #{JSON.dump(event)}"
  end
end
<% end -%>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.12 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.11 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.10 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.9 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.8 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.7 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.6 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.5 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.4 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.3 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.2 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.1 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.0 lib/jets/generators/job/templates/event_types/iot.rb.tt
jets-5.0.0.beta1 lib/jets/generators/job/templates/event_types/iot.rb.tt