Method: GRPC::Interceptor#initialize

Defined in:
src/ruby/lib/grpc/generic/interceptors.rb

#initialize(options = {}) ⇒ Interceptor

Returns a new instance of Interceptor.

Parameters:

  • options (Hash) (defaults to: {})

    A hash of options that will be used by the interceptor. This is an EXPERIMENTAL API.



26
27
28
# File 'src/ruby/lib/grpc/generic/interceptors.rb', line 26

def initialize(options = {})
  @options = options || {}
end