class WhoIsOnlineChannel

Public Instance Methods

subscribed() click to toggle source
# File lib/generators/who_is_online/channel/templates/who_is_online_channel.rb, line 2
def subscribed
  stream_from "who_is_online_channel"
end
unsubscribed() click to toggle source
# File lib/generators/who_is_online/channel/templates/who_is_online_channel.rb, line 6
def unsubscribed
  # Any cleanup needed when channel is unsubscribed
end