change ruby default unimplemented ruby server handler to have two arguments

pull/9191/head
Alexander Polcyn 8 years ago
parent c3c1240ad5
commit 2ec43d2dac
  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(GenericService.underscore(name.to_s).to_sym) do
define_method(GenericService.underscore(name.to_s).to_sym) do |_, _|
fail GRPC::BadStatus.new_status_exception(
GRPC::Core::StatusCodes::UNIMPLEMENTED)
end

Loading…
Cancel
Save