Class: RPC::Server
- Inherits:
-
Object
- Object
- RPC::Server
- Defined in:
- lib/rpc/lib/rpc.rb
Instance Method Summary collapse
- #execute(encoded_command) ⇒ Object
-
#initialize(subject, encoder = RPC::Encoders::Json::Server.new) ⇒ Server
constructor
A new instance of Server.
Constructor Details
Instance Method Details
#execute(encoded_command) ⇒ Object
46 47 48 |
# File 'lib/rpc/lib/rpc.rb', line 46 def execute(encoded_command) @encoder.execute(encoded_command, @subject) end |