Sha256: 5f32386dff8bee6674108f25921b58b392eb63b8d4d0adb54b6f52b8f0a1e53f

Contents?: true

Size: 188 Bytes

Versions: 56

Compression:

Stored size: 188 Bytes

Contents

# frozen_string_literal: true

module Motor
  class NotesChannel < ::Motor::ApplicationCable::Channel
    def subscribed
      stream_from "motor:notes:#{params[:room]}"
    end
  end
end

Version data entries

56 entries across 56 versions & 6 rubygems

Version Path
motor-admin-0.4.36 app/channels/motor/notes_channel.rb
motor-admin-0.4.35 app/channels/motor/notes_channel.rb
motor-admin-0.4.34 app/channels/motor/notes_channel.rb
motor-admin-0.4.33 app/channels/motor/notes_channel.rb
motor-admin-0.4.32 app/channels/motor/notes_channel.rb
motor-admin-0.4.31 app/channels/motor/notes_channel.rb
motor-admin-0.4.30 app/channels/motor/notes_channel.rb
motor-admin-0.4.29 app/channels/motor/notes_channel.rb
motor-admin-0.4.28 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.35 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.34 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.33 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.32 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.31 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.30 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.29 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.28 app/channels/motor/notes_channel.rb
motor-admin-cstham8-0.4.27 app/channels/motor/notes_channel.rb
motor-admin-0.4.27 app/channels/motor/notes_channel.rb
motor-admin-unosquare-0.4.28 app/channels/motor/notes_channel.rb