class CheckinJob < ApplicationJob queue_as :default def perform() table = DiningFacility.get_checkin_booking ActionCable.server.broadcast "checkin_channel",table: table end end