lib/lite_cable/channel/base.rb
# Extract the action name from the passed data and process it via the channel.
Extract the action name from the passed data and process it via the channel.
Extract the action name from the passed data and process it via the channel .
def perform_action(data)
        action = extract_action(data)
        raise UnproccessableActionError unless processable_action?(action)
        log(:debug) { log_fmt("Perform action #{action}(#{data})") }
        dispatch_action(action, data)
      end
def perform_action ( data ) action = extract_action ( data ) raise UnproccessableActionError unless processable_action? ( action ) log ( :debug ) { log_fmt ( "Perform action #{action}(#{data})" ) } dispatch_action ( action , data ) end
Extract the action name from the passed data and process it via the channel.
Extract the action name from the passed data and process it via the channel .
data
<not_specific>