edge badge
Methods
A
B
Included Modules
Instance Public methods
after_subscribe(*methods, &block)
# File actioncable/lib/action_cable/channel/callbacks.rb, line 20
def after_subscribe(*methods, &block)
  set_callback(:subscribe, :after, *methods, &block)
end
after_unsubscribe(*methods, &block)
# File actioncable/lib/action_cable/channel/callbacks.rb, line 29
def after_unsubscribe(*methods, &block)
  set_callback(:unsubscribe, :after, *methods, &block)
end
before_subscribe(*methods, &block)
# File actioncable/lib/action_cable/channel/callbacks.rb, line 16
def before_subscribe(*methods, &block)
  set_callback(:subscribe, :before, *methods, &block)
end
before_unsubscribe(*methods, &block)
# File actioncable/lib/action_cable/channel/callbacks.rb, line 25
def before_unsubscribe(*methods, &block)
  set_callback(:unsubscribe, :before, *methods, &block)
end