11 lines
210 B
Ruby
11 lines
210 B
Ruby
class CheckinChannel < ApplicationCable::Channel
|
|
def subscribed
|
|
stream_from "checkin_channel"
|
|
end
|
|
|
|
def unsubscribed
|
|
stop_all_streams
|
|
# Any cleanup needed when channel is unsubscribed
|
|
end
|
|
end
|