Methods
- A
- B
- O
Instance Public methods
after_subscribe(*methods, &block) Link
Also aliased as: on_subscribe
Source: show
# File actioncable/lib/action_cable/channel/callbacks.rb, line 37 def after_subscribe(*methods, &block) set_callback(:subscribe, :after, *methods, &block) end
after_unsubscribe(*methods, &block) Link
Also aliased as: on_unsubscribe
Source: show
# File actioncable/lib/action_cable/channel/callbacks.rb, line 46 def after_unsubscribe(*methods, &block) set_callback(:unsubscribe, :after, *methods, &block) end
before_subscribe(*methods, &block) Link
Source: show
# File actioncable/lib/action_cable/channel/callbacks.rb, line 33 def before_subscribe(*methods, &block) set_callback(:subscribe, :before, *methods, &block) end