instance method
extract_action
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
extract_action(data)
No documentation comment.
Parameters
-
datareq
Source
# File actioncable/lib/action_cable/channel/base.rb, line 286
def extract_action(data)
(data["action"].presence || :receive).to_sym
end
Defined in actioncable/lib/action_cable/channel/base.rb line 286
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::Base