Skip to content
Snippets Groups Projects
Commit 2ec43d2d authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

change ruby default unimplemented ruby server handler to have two arguments

parent c3c1240a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment