Class: BasicJRPC::FAFClient

Inherits:
Client
  • Object
show all
Defined in:
lib/basicjrpc/client.rb

Overview

Fire And Forget Client

Instance Method Summary collapse

Methods inherited from Client

#initialize, #method_missing

Constructor Details

This class inherits a constructor from BasicJRPC::Client

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BasicJRPC::Client

Instance Method Details

#send_request(payload) ⇒ Object



28
29
30
31
# File 'lib/basicjrpc/client.rb', line 28

def send_request payload
  payload.response_requested = false
  @redis.rpush(@queue, Oj.dump(payload))
end