class ChronoTrigger::Worker
Public Instance Methods
on_message(event)
click to toggle source
# File lib/chrono_trigger/worker.rb, line 5 def on_message(event) Rails.logger.debug "ChronoTrigger: #{event.inspect}" event.perform(*event.args) if event.at.nil? || (event.at && event.before.nil?) || (event.before && event.at < event.before) end