Sha256: acb9f068f603526c4d6bf470d291f9408a892ebeaff7e8f88a35ece87769f6a8

Contents?: true

Size: 247 Bytes

Versions: 4

Compression:

Stored size: 247 Bytes

Contents

class <%= class_name %>Event < ApplicationEvent
  sns_event "hello-topic"
  def <%= options[:method] %>
    puts "event #{JSON.dump(event)}"
    puts "sns_events #{JSON.dump(sns_events)}"
    puts "sns_events? #{JSON.dump(sns_events?)}"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-6.0.5 lib/jets/cli/generate/templates/event_types/sns.rb.tt
jets-6.0.4 lib/jets/cli/generate/templates/event_types/sns.rb.tt
jets-6.0.3 lib/jets/cli/generate/templates/event_types/sns.rb.tt
jets-6.0.2 lib/jets/cli/generate/templates/event_types/sns.rb.tt