Class: RocketChat::Realtime::Handlers::Result
- Defined in:
- lib/rocket_chat/realtime/handlers/result.rb
Overview
Result Message Handler
The DDP RPC return value
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #process ⇒ Object
-
#result ⇒ RocketChat::Realtime::Messages::Result
The message result.
Methods inherited from Base
Constructor Details
This class inherits a constructor from RocketChat::Realtime::Handlers::Base
Instance Method Details
#process ⇒ Object
28 29 30 |
# File 'lib/rocket_chat/realtime/handlers/result.rb', line 28 def process AsyncTask.resolve(result.id, result) end |
#result ⇒ RocketChat::Realtime::Messages::Result
The message result
20 21 22 23 24 25 |
# File 'lib/rocket_chat/realtime/handlers/result.rb', line 20 def result Messages::Result.new( ['id'], ['result'] ) end |