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



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

def method
  @method
end

#request_typeObject

Returns the value of attribute request_type

Returns:

  • (Object)

    the current value of request_type



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

def request_type
  @request_type
end

#response_typeObject

Returns the value of attribute response_type

Returns:

  • (Object)

    the current value of response_type



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

def response_type
  @response_type
end

#serviceObject

Returns the value of attribute service

Returns:

  • (Object)

    the current value of service



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

def service
  @service
end