Sha256: 98b6f1354128b620a9237564d91f02802f21ca2b203afefa872a69f8f79d7056
Contents?: true
Size: 453 Bytes
Versions: 35
Compression:
Stored size: 453 Bytes
Contents
module Protobuf module Rpc class RpcMethod ::Protobuf::Optionable.inject(self, false) { ::Google::Protobuf::MethodOptions } attr_reader :method, :request_type, :response_type 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 end end end
Version data entries
35 entries across 35 versions & 2 rubygems