Class: QRPC::Server::Dispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/qrpc/server/dispatcher.rb

Overview

Queue RPC job.

Instance Method Summary collapse

Instance Method Details

#put(job) ⇒ Object

Puts job to dispatcher.

Parameters:



27
28
29
# File 'lib/qrpc/server/dispatcher.rb', line 27

def put(job)
    job.process!
end