Class: Protobuf::Rpc::RpcMethod
- Inherits:
-
Struct
- Object
- Struct
- Protobuf::Rpc::RpcMethod
- Defined in:
- lib/protobuf/rpc/service.rb
Overview
Object to encapsulate the request/response types for a given service method
Instance Attribute Summary collapse
-
#method ⇒ Object
Returns the value of attribute method.
-
#request_type ⇒ Object
Returns the value of attribute request_type.
-
#response_type ⇒ Object
Returns the value of attribute response_type.
-
#service ⇒ Object
Returns the value of attribute service.
Instance Attribute Details
#method ⇒ Object
Returns the value of attribute method
9 10 11 |
# File 'lib/protobuf/rpc/service.rb', line 9 def method @method end |
#request_type ⇒ Object
Returns the value of attribute request_type
9 10 11 |
# File 'lib/protobuf/rpc/service.rb', line 9 def request_type @request_type end |
#response_type ⇒ Object
Returns the value of attribute response_type
9 10 11 |
# File 'lib/protobuf/rpc/service.rb', line 9 def response_type @response_type end |
#service ⇒ Object
Returns the value of attribute service
9 10 11 |
# File 'lib/protobuf/rpc/service.rb', line 9 def service @service end |