Class: ASS::Client
- Inherits:
-
Object
- Object
- ASS::Client
- Defined in:
- lib/ass/client.rb
Instance Method Summary collapse
-
#call(name, method, data, opts = {}, meta = nil) ⇒ Object
makes synchronized call through ASS::RPC.
- #cast(name, method, data, opts = {}, meta = nil) ⇒ Object
-
#initialize(opts = {}) ⇒ Client
constructor
A new instance of Client.
- #rpc ⇒ Object
Constructor Details
#initialize(opts = {}) ⇒ Client
Returns a new instance of Client.
2 3 4 |
# File 'lib/ass/client.rb', line 2 def initialize(opts={}) @rpc_opts = opts end |
Instance Method Details
#call(name, method, data, opts = {}, meta = nil) ⇒ Object
makes synchronized call through ASS::RPC
16 17 18 |
# File 'lib/ass/client.rb', line 16 def call(name,method,data,opts={},=nil) rpc.call(name,method,data,opts,) end |