Class: Glib::Channel::ChatChannel

Inherits:
ApplicationCable::Channel
  • Object
show all
Defined in:
app/channels/glib/channel/chat_channel.rb

Instance Method Summary collapse

Instance Method Details

#subscribedObject



6
7
8
# File 'app/channels/glib/channel/chat_channel.rb', line 6

def subscribed
  stream_for "chat_#{params[:room]}"
end