lib/grpc_kit/calls.rb in grpc_kit-0.1.4 vs lib/grpc_kit/calls.rb in grpc_kit-0.1.5

- old
+ new

@@ -6,9 +6,12 @@ Name = Struct.new(:name, :receiver) Reciver = Struct.new(:class) Klass = Struct.new(:service_name) attr_reader :method + # @params stream [GrpcKit::Stream::ServerStream|GrpcKit::Stream::ClientStream] + # @params config [GrpcKit::MethodConfig] + # @params metadata [Hash] def initialize(stream:, config:, metadata:, timeout: nil) @config = config @metadata = metadata @method_name = @config.method_name @service_name = @config.service_name