aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/ruby/lib/route_guide_services.rb
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-09-23 15:27:08 -0700
committerGravatar Tim Emiola <temiola@google.com>2015-09-23 15:27:08 -0700
commit415134062bb9cc91d6d89c189d077d22617659d3 (patch)
treed6e8b880b0238eed91e50fce9f382159692d2ddd /examples/ruby/lib/route_guide_services.rb
parent2470c5cd1f0e9bed4e44c2f0bf157d98555a9788 (diff)
Ensure the route_guide sample is up-to-date
- should work using the beta api package - ensure any generated code is consistent with the proto definition
Diffstat (limited to 'examples/ruby/lib/route_guide_services.rb')
-rw-r--r--examples/ruby/lib/route_guide_services.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/ruby/lib/route_guide_services.rb b/examples/ruby/lib/route_guide_services.rb
index 6e07653c42..082daef754 100644
--- a/examples/ruby/lib/route_guide_services.rb
+++ b/examples/ruby/lib/route_guide_services.rb
@@ -1,10 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
-# Source: route_guide.proto for package 'examples'
+# Source: route_guide.proto for package 'routeguide'
require 'grpc'
require 'route_guide'
-module Examples
+module Routeguide
module RouteGuide
# TODO: add proto service documentation here
@@ -14,7 +14,7 @@ module Examples
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
- self.service_name = 'examples.RouteGuide'
+ self.service_name = 'routeguide.RouteGuide'
rpc :GetFeature, Point, Feature
rpc :ListFeatures, Rectangle, stream(Feature)