Merge pull request #7838 from teodor-pripoae/fix-example-in-ruby-readme

Fix example in ruby readme
pull/8248/merge
Michael Lumish 8 years ago committed by GitHub
commit 2a78d3d961
  1. 2
      src/ruby/README.md

@ -59,7 +59,7 @@ Directory structure is the layout for [ruby extensions][]
- bin: example gRPC clients and servers, e.g,
```ruby
stub = Math::Math::Stub.new('my.test.math.server.com:8080')
stub = Math::Math::Stub.new('my.test.math.server.com:8080', :this_channel_is_insecure)
req = Math::DivArgs.new(dividend: 7, divisor: 3)
GRPC.logger.info("div(7/3): req=#{req.inspect}")
resp = stub.div(req)

Loading…
Cancel
Save