Class: Breakfast::StatusChannel

Inherits:
ActionCable::Channel::Base
  • Object
show all
Defined in:
lib/breakfast/status_channel.rb

Instance Method Summary collapse

Instance Method Details

#subscribedObject



5
6
7
8
# File 'lib/breakfast/status_channel.rb', line 5

def subscribed
  logger.info "Subscribed to channel"
  stream_from "breakfast_status"
end