Sha256: 4332388709b114258f684fa50f0bc5b1f729b145d6a19c32e32fa166bdcc657f
Contents?: true
Size: 334 Bytes
Versions: 4
Compression:
Stored size: 334 Bytes
Contents
module NonRailsApp module EventHandler extend self def handle_event(event) puts "NonRailsApp::EventHandler - Consumed event: #{event.name} with payload: #{event.payload}" RabbitFeed::Producer.publish_event 'application_acknowledges_event', ({ 'event_name' => event.name }.merge event.payload) end end end
Version data entries
4 entries across 4 versions & 1 rubygems