Class: GrpcKit::InterceptorRegistry

Inherits:
Object
  • Object
show all
Defined in:
lib/grpc_kit/interceptor_registory.rb

Instance Method Summary collapse

Constructor Details

#initialize(interceptors) ⇒ InterceptorRegistry

Returns a new instance of InterceptorRegistry.



5
6
7
8
9
# File 'lib/grpc_kit/interceptor_registory.rb', line 5

def initialize(interceptors)
  @interceptors = interceptors

  validate_interceptors
end

Instance Method Details

#buildObject



11
12
13
# File 'lib/grpc_kit/interceptor_registory.rb', line 11

def build
  @interceptors.dup
end