Module: Vx::Lib::Consumer::Rpc
- Defined in:
- lib/vx/lib/consumer/rpc.rb
Defined Under Namespace
Classes: RpcClient, RpcProxy
Constant Summary
collapse
- RPC_EXCHANGE_NAME =
"".freeze
- JSON_CONTENT_TYPE =
'application/json'.freeze
- RPC_PAYLOAD_METHOD =
'method'.freeze
- RPC_PAYLOAD_PARAMS =
'params'.freeze
- RPC_PAYLOAD_RESULT =
'result'.freeze
Instance Method Summary
collapse
Instance Method Details
#rpc ⇒ Object
210
211
212
|
# File 'lib/vx/lib/consumer/rpc.rb', line 210
def rpc
@rpc ||= RpcProxy.new(self)
end
|