instance method
before_subscribe
Ruby on Rails 5.1.7
Since v5.0.7.2 Last seen in v5.1.7Available in: v5.0.7.2 v5.1.7
Signature
before_subscribe(*methods, &block)
No documentation comment.
Parameters
-
methodsrest -
blockblock
Source
# File actioncable/lib/action_cable/channel/callbacks.rb, line 15
def before_subscribe(*methods, &block)
set_callback(:subscribe, :before, *methods, &block)
end
Defined in actioncable/lib/action_cable/channel/callbacks.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::Callbacks