Sha256: 5e8fcec11119a6348e8a3bec5fd8799a211d6e91396bab4e902338a5c76d1d4a

Contents?: true

Size: 364 Bytes

Versions: 7

Compression:

Stored size: 364 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Job < ApplicationJob
  # Please read the Considerations section before using s3_event
  s3_event "my-bucket" # new or existing bucket
  def <%= options[:name] %>
    puts "event #{JSON.dump(event)}"
    puts "s3_events #{JSON.dump(s3_events)}"
    puts "s3_objects #{JSON.dump(s3_objects)}"
  end
end
<% end -%>

Version data entries

7 entries across 7 versions & 1 rubygems

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