Class: Gruf::Controllers::Request::Type
- Inherits:
-
Object
- Object
- Gruf::Controllers::Request::Type
- Defined in:
- lib/gruf/controllers/request.rb
Overview
Abstract representation of a gRPC request type
Instance Method Summary collapse
-
#initialize(rpc_desc) ⇒ Type
constructor
Initialize a new request type object.
Constructor Details
#initialize(rpc_desc) ⇒ Type
Initialize a new request type object
47 48 49 |
# File 'lib/gruf/controllers/request.rb', line 47 def initialize(rpc_desc) @rpc_desc = rpc_desc end |