| Index: third_party/grpc/examples/ruby/lib/helloworld_services.rb
|
| diff --git a/third_party/grpc/examples/ruby/lib/helloworld_services.rb b/third_party/grpc/examples/ruby/lib/helloworld_services.rb
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7da45ebc6b202ec48ed60aca18e4e2539cf8875f
|
| --- /dev/null
|
| +++ b/third_party/grpc/examples/ruby/lib/helloworld_services.rb
|
| @@ -0,0 +1,24 @@
|
| +# Generated by the protocol buffer compiler. DO NOT EDIT!
|
| +# Source: helloworld.proto for package 'helloworld'
|
| +
|
| +require 'grpc'
|
| +require 'helloworld'
|
| +
|
| +module Helloworld
|
| + module Greeter
|
| +
|
| + # TODO: add proto service documentation here
|
| + class Service
|
| +
|
| + include GRPC::GenericService
|
| +
|
| + self.marshal_class_method = :encode
|
| + self.unmarshal_class_method = :decode
|
| + self.service_name = 'helloworld.Greeter'
|
| +
|
| + rpc :SayHello, HelloRequest, HelloReply
|
| + end
|
| +
|
| + Stub = Service.rpc_stub_class
|
| + end
|
| +end
|
|
|