Method: DDP::Server::Protocol::Data#handle_data
- Defined in:
- lib/ddp/server/protocol/data.rb
#handle_data ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/ddp/server/protocol/data.rb', line 8 def handle_data case ['msg'] when 'sub' handle_sub(['id'], ['name'], ['params']) true when 'unsub' handle_unsub(['id']) true else false end end |