Method: ActionCableClient::MessageFactory#create
- Defined in:
- lib/action_cable_client/message_factory.rb
#create(command, action = '', message = nil) ⇒ Object
26 27 28 29 |
# File 'lib/action_cable_client/message_factory.rb', line 26 def create(command, action = '', = nil) data = build_data(action, ) Message.new(command, identifier, data) end |