Module: ActionCable::SubscriptionAdapter::ChannelPrefix

Defined in:
actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#broadcast(channel, payload) ⇒ Object



6
7
8
9
# File 'actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb', line 6

def broadcast(channel, payload)
  channel = channel_with_prefix(channel)
  super
end

#subscribe(channel, callback, success_callback = nil) ⇒ Object



11
12
13
14
# File 'actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb', line 11

def subscribe(channel, callback, success_callback = nil)
  channel = channel_with_prefix(channel)
  super
end

#unsubscribe(channel, callback) ⇒ Object



16
17
18
19
# File 'actioncable/lib/action_cable/subscription_adapter/channel_prefix.rb', line 16

def unsubscribe(channel, callback)
  channel = channel_with_prefix(channel)
  super
end