Sha256: 3e70ed561372139977456712001e6491af0650110de9c9a8b9b91532db8373f2

Contents?: true

Size: 303 Bytes

Versions: 5

Compression:

Stored size: 303 Bytes

Contents

# Be sure to restart your server when you modify this file. Action Cable runs in a loop that does not support auto reloading.
class PillsChannel < ApplicationCable::Channel
  def subscribed
    stream_from "pills"
  end

  def unsubscribed
    # Any cleanup needed when channel is unsubscribed
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
digital_heroes_startkit-0.1.1.4 app/channels/pills_channel.rb
digital_heroes_startkit-0.1.1.3 app/channels/pills_channel.rb
digital_heroes_startkit-0.1.1.2 app/channels/pills_channel.rb
digital_heroes_startkit-0.1.1.1 app/channels/pills_channel.rb
digital_heroes_startkit-0.1.1 app/channels/pills_channel.rb