Class: Protobuf::Rpc::RpcMethod

Inherits:
Struct
  • Object
show all
Defined in:
lib/protobuf/rpc/service.rb

Overview

Object to encapsulate the request/response types for a given service method

Instance Attribute Summary collapse

Instance Attribute Details

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



10
11
12
# File 'lib/protobuf/rpc/service.rb', line 10

def method
  @method
end

#request_typeObject

Returns the value of attribute request_type

Returns:

  • (Object)

    the current value of request_type



10
11
12
# File 'lib/protobuf/rpc/service.rb', line 10

def request_type
  @request_type
end

#response_typeObject

Returns the value of attribute response_type

Returns:

  • (Object)

    the current value of response_type



10
11
12
# File 'lib/protobuf/rpc/service.rb', line 10

def response_type
  @response_type
end