Sha256: 74e387c6ea16439b18e024696afd8452de014b779429b42b32bc610751ed384e

Contents?: true

Size: 348 Bytes

Versions: 19

Compression:

Stored size: 348 Bytes

Contents

# Allow examples to be run directly outside of the Gem
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'rubygems'
require 'ruby_skynet'

SemanticLogger.default_level = :info
SemanticLogger.add_appender(STDOUT)

class Echo < RubySkynet::Client
  self.skynet_name = "EchoService"
end

client = Echo.new
p client.echo(:hello => 'world')

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ruby_skynet-2.0.0 examples/echo_client.rb
ruby_skynet-1.3.0.alpha3 examples/echo_client.rb
ruby_skynet-1.3.0.alpha2 examples/echo_client.rb
ruby_skynet-1.3.0.alpha1 examples/echo_client.rb
ruby_skynet-2.0.0.rc1 examples/echo_client.rb
ruby_skynet-1.2.7 examples/echo_client.rb
ruby_skynet-1.2.6 examples/echo_client.rb
ruby_skynet-1.2.5 examples/echo_client.rb
ruby_skynet-1.2.4 examples/echo_client.rb
ruby_skynet-1.2.3 examples/echo_client.rb
ruby_skynet-1.2.2 examples/echo_client.rb
ruby_skynet-1.2.1 examples/echo_client.rb
ruby_skynet-1.2.0 examples/echo_client.rb
ruby_skynet-1.1.1 examples/echo_client.rb
ruby_skynet-1.1.0 examples/echo_client.rb
ruby_skynet-1.0.0 examples/echo_client.rb
ruby_skynet-0.8.1 examples/echo_client.rb
ruby_skynet-0.8.0 examples/echo_client.rb
ruby_skynet-0.7.0 examples/echo_client.rb