class Protobuf::Rpc::RpcMethod

Attributes

method[R]
request_type[R]
response_type[R]

Public Class Methods

new(method, request_type, response_type, &options_block) click to toggle source
# File lib/protobuf/rpc/rpc_method.rb, line 8
def initialize(method, request_type, response_type, &options_block)
  @method = method
  @request_type = request_type
  @response_type = response_type
  instance_eval(&options_block) if options_block
end