diff options
author | temiola <temiola@google.com> | 2015-01-08 10:06:29 -0800 |
---|---|---|
committer | Nicolas Noble <nnoble@google.com> | 2015-01-09 17:44:43 -0800 |
commit | 4dee1577fb678336a1492edbf458b2e0a4a41479 (patch) | |
tree | 6b648498206e3df11fb3cbdf3ebb8b96ff7d6f26 /src | |
parent | d6fd84aff8e14429f26eca344b7418cb73847bf2 (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')
-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) |