diff options
author | 2015-01-08 10:06:29 -0800 | |
---|---|---|
committer | 2015-01-08 13:57:55 -0800 | |
commit | 8232204a36712553b9eedb2dacab13b7c38642c6 (patch) | |
tree | 6b648498206e3df11fb3cbdf3ebb8b96ff7d6f26 /src/ruby/bin | |
parent | 5417edab2ac816b2ff2d3522c4c6982644dc71d8 (diff) |
Updates the math and interop samples to use the fully-qualified method name.
This bring the ruby GRPC up-to-date with the changes in []
TESTED: math client access math server OK, similarly the passing interop tests continue to pass
Change on 2015/01/08 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83527704
Diffstat (limited to 'src/ruby/bin')
-rw-r--r-- | src/ruby/bin/interop/test/cpp/interop/test_services.rb | 1 | ||||
-rw-r--r-- | src/ruby/bin/math_services.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ruby/bin/interop/test/cpp/interop/test_services.rb b/src/ruby/bin/interop/test/cpp/interop/test_services.rb index 464d5e24f6..17b5461d3e 100644 --- a/src/ruby/bin/interop/test/cpp/interop/test_services.rb +++ b/src/ruby/bin/interop/test/cpp/interop/test_services.rb @@ -44,6 +44,7 @@ module Grpc self.marshal_class_method = :encode self.unmarshal_class_method = :decode + self.service_name = 'grpc.testing.TestService' rpc :EmptyCall, Empty, Empty rpc :UnaryCall, SimpleRequest, SimpleResponse diff --git a/src/ruby/bin/math_services.rb b/src/ruby/bin/math_services.rb index 7e056025cf..f6ca6fe060 100644 --- a/src/ruby/bin/math_services.rb +++ b/src/ruby/bin/math_services.rb @@ -43,6 +43,7 @@ module Math self.marshal_class_method = :encode self.unmarshal_class_method = :decode + self.service_name = 'math.Math' rpc :Div, DivArgs, DivReply rpc :DivMany, stream(DivArgs), stream(DivReply) |