aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby
diff options
context:
space:
mode:
authorGravatar Teodor <teodor.pripoae@gmail.com>2016-08-23 13:18:16 +0300
committerGravatar Teodor <teodor.pripoae@gmail.com>2016-08-23 13:18:16 +0300
commite898ee608cf3a989675aa5fcc18188f322246b50 (patch)
tree57e525958d62f5128e9767049afdae04bd17e3e9 /src/ruby
parent0e43d67602096a5c4aeab4632579bc56cf692553 (diff)
Fix example in ruby readme
Diffstat (limited to 'src/ruby')
-rw-r--r--src/ruby/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/README.md b/src/ruby/README.md
index 3179575486..b30805106d 100644
--- a/src/ruby/README.md
+++ b/src/ruby/README.md
@@ -64,7 +64,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)