Module: ActionCable::SubscriptionAdapter::ChannelPrefix
- Included in:
- EventedRedis, Redis
- Defined in:
- lib/action_cable/subscription_adapter/channel_prefix.rb
Overview
:nodoc:
Instance Method Summary collapse
- #broadcast(channel, payload) ⇒ Object
- #subscribe(channel, callback, success_callback = nil) ⇒ Object
- #unsubscribe(channel, callback) ⇒ Object
Instance Method Details
#broadcast(channel, payload) ⇒ Object
4 5 6 7 |
# File 'lib/action_cable/subscription_adapter/channel_prefix.rb', line 4 def broadcast(channel, payload) channel = channel_with_prefix(channel) super end |
#subscribe(channel, callback, success_callback = nil) ⇒ Object
9 10 11 12 |
# File 'lib/action_cable/subscription_adapter/channel_prefix.rb', line 9 def subscribe(channel, callback, success_callback = nil) channel = channel_with_prefix(channel) super end |
#unsubscribe(channel, callback) ⇒ Object
14 15 16 17 |
# File 'lib/action_cable/subscription_adapter/channel_prefix.rb', line 14 def unsubscribe(channel, callback) channel = channel_with_prefix(channel) super end |