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