Class: GrpcKit::InterceptorRegistry
- Inherits:
-
Object
- Object
- GrpcKit::InterceptorRegistry
- Defined in:
- lib/grpc_kit/interceptor_registory.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(interceptors) ⇒ InterceptorRegistry
constructor
A new instance of InterceptorRegistry.
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
#build ⇒ Object
11 12 13 |
# File 'lib/grpc_kit/interceptor_registory.rb', line 11 def build @interceptors.dup end |