Class: Binocs::RequestsChannel

Inherits:
ApplicationCable::Channel show all
Defined in:
app/channels/binocs/requests_channel.rb

Instance Method Summary collapse

Instance Method Details

#subscribedObject



5
6
7
# File 'app/channels/binocs/requests_channel.rb', line 5

def subscribed
  stream_from "binocs_requests"
end

#unsubscribedObject



9
10
11
# File 'app/channels/binocs/requests_channel.rb', line 9

def unsubscribed
  # Cleanup when channel is unsubscribed
end