5 6 7 8
# File 'lib/mumukit/nuntius/job_publisher.rb', line 5 def publish(job, payload) payload.merge!(sender: Mumukit::Nuntius.config.app_name) Mumukit::Nuntius::Publisher.publish "jobs", {data: payload}, {type: job} end