Skip to content
Snippets Groups Projects
Commit 2a78d3d9 authored by Michael Lumish's avatar Michael Lumish Committed by GitHub
Browse files

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

Fix example in ruby readme
parents 13905ee9 e898ee60
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment