Files
sx-fc/app/jobs/call_waiter_job.rb
2017-12-04 19:23:37 +06:30

9 lines
261 B
Ruby

class CallWaiterJob < ApplicationJob
queue_as :default
def perform(table,time)
ActionCable.server.broadcast "call_waiter_channel",table: table,time:time
# Rails.logger.debug "Testing: I'm performing my job with arguments: #{table}"
end
end