From 6300c4130099b016c7dd3bfcb17d541e77d79d72 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 5 Mar 2025 17:24:44 -0700 Subject: feat: connect REST API to gRPC Ability.allowed? service --- lib/ability_services_pb.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/ability_services_pb.rb (limited to 'lib/ability_services_pb.rb') diff --git a/lib/ability_services_pb.rb b/lib/ability_services_pb.rb new file mode 100644 index 00000000..7aec39bd --- /dev/null +++ b/lib/ability_services_pb.rb @@ -0,0 +1,20 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: ability.proto for package '' + +require 'grpc' +require 'ability_pb' + +module Ability + class Service + + include ::GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'Ability' + + rpc :Allowed, ::AllowRequest, ::AllowReply + end + + Stub = Service.rpc_stub_class +end -- cgit v1.2.3