Class: NoStatusDetailsBinTestService

Inherits:
Object
  • Object
show all
Includes:
GRPC::GenericService
Defined in:
src/ruby/spec/google_rpc_status_utils_spec.rb

Overview

A test service that fails without explicitly setting the grpc-status-details-bin trailer. Tests assumptions about value of grpc-status-details-bin on the client side when the trailer wasn’t set explicitly.

Instance Method Summary collapse

Methods included from GRPC::GenericService

included, underscore

Instance Method Details

#an_rpc(_, _) ⇒ Object



222
223
224
# File 'src/ruby/spec/google_rpc_status_utils_spec.rb', line 222

def an_rpc(_, _)
  fail GRPC::Unknown
end