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
59 60 61 |
# File 'lib/gruf/controllers/request.rb', line 59 def initialize(rpc_desc) @rpc_desc = rpc_desc end |