Sha256: adad0a546f00e390b942243d317adeea8fa1d25b5d2684a141a12e7481c4926f
Contents?: true
Size: 297 Bytes
Versions: 2
Compression:
Stored size: 297 Bytes
Contents
module Bobot class CommanderJob < ApplicationJob queue_as do if Bobot.config.commander_queue_name.present? Bobot.config.commander_queue_name else :default end end def perform(payload:) Bobot::Commander.trigger(payload) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bobot-3.0.3 | app/jobs/bobot/commander_job.rb |
bobot-3.0.2 | app/jobs/bobot/commander_job.rb |