Merge pull request #9034 from igorpeshansky/patch-1

Use snake_case names for default rpc method implementations
pull/9131/head
Michael Lumish 8 years ago committed by GitHub
commit 47f1f9e1ea
  1. 2
      src/ruby/lib/grpc/generic/service.rb

@ -110,7 +110,7 @@ module GRPC
rpc_descs[name] = RpcDesc.new(name, input, output,
marshal_class_method,
unmarshal_class_method)
define_method(name) do
define_method(GenericService.underscore(name.to_s).to_sym) do
fail GRPC::BadStatus, GRPC::Core::StatusCodes::UNIMPLEMENTED
end
end

Loading…
Cancel
Save