examples/echo_server.rb in ruby_skynet-0.7.0 vs examples/echo_server.rb in ruby_skynet-0.8.0
- old
+ new
@@ -8,11 +8,9 @@
# Just echo back any parameters received when the echo method is called
class EchoService
include RubySkynet::Service
- skynet_name = "JoeService"
-
# Methods implemented by this service
# Must take a Hash as input
# Must Return a Hash response or nil for no response
def echo(params)
params['echo'] = true