diff options
Diffstat (limited to 'src/ruby/bin/math.pb.rb')
-rwxr-xr-x | src/ruby/bin/math.pb.rb | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/src/ruby/bin/math.pb.rb b/src/ruby/bin/math.pb.rb deleted file mode 100755 index f6976be568..0000000000 --- a/src/ruby/bin/math.pb.rb +++ /dev/null @@ -1,65 +0,0 @@ -## Generated from bin/math.proto for math -require "beefcake" -require "grpc" - -module Math - - class DivArgs - include Beefcake::Message - end - - class DivReply - include Beefcake::Message - end - - class FibArgs - include Beefcake::Message - end - - class Num - include Beefcake::Message - end - - class FibReply - include Beefcake::Message - end - - class DivArgs - required :dividend, :int64, 1 - required :divisor, :int64, 2 - end - - class DivReply - required :quotient, :int64, 1 - required :remainder, :int64, 2 - end - - class FibArgs - optional :limit, :int64, 1 - end - - class Num - required :num, :int64, 1 - end - - class FibReply - required :count, :int64, 1 - end - - module Math - - class Service - include GRPC::GenericService - - self.marshal_class_method = :encode - self.unmarshal_class_method = :decode - - rpc :Div, DivArgs, DivReply - rpc :DivMany, stream(DivArgs), stream(DivReply) - rpc :Fib, FibArgs, stream(Num) - rpc :Sum, stream(Num), Num - end - Stub = Service.rpc_stub_class - - end -end |