2023-08-11 12:45:59 +00:00

10 lines
184 B
Ruby

class CallChannel < ApplicationCable::Channel
def subscribed
stream_from "call_channel"
end
def unsubscribed
# Any cleanup needed when channel is unsubscribed
end
end