Class: LogChannel
- Inherits:
-
ApplicationCable::Channel
- Object
- ActionCable::Channel::Base
- ApplicationCable::Channel
- LogChannel
- Defined in:
- app/channels/log_channel.rb
Instance Method Summary collapse
Instance Method Details
#keep_alive ⇒ Object
8 9 10 |
# File 'app/channels/log_channel.rb', line 8 def keep_alive $monitoring_keep_alive = Time.zone.now.to_i end |
#subscribed ⇒ Object
4 5 6 |
# File 'app/channels/log_channel.rb', line 4 def subscribed stream_from 'log_channel' end |