Class: Yrpc::Controllers::Request::Type

Inherits:
Object
  • Object
show all
Defined in:
lib/yrpc/controllers/request.rb

Overview

Abstract representation of a gRPC request type

Instance Method Summary collapse

Constructor Details

#initialize(rpc_desc) ⇒ Type

Initialize a new request type object

Parameters:

  • rpc_desc (GRPC::RpcDesc)

    The RPC descriptor for the request type



30
31
32
# File 'lib/yrpc/controllers/request.rb', line 30

def initialize(rpc_desc)
  @rpc_desc = rpc_desc
end