diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-05 17:24:44 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-05 17:24:44 -0700 |
| commit | 6300c4130099b016c7dd3bfcb17d541e77d79d72 (patch) | |
| tree | f4bd491daed32d5e5d9e68afa219a86dec360abd /lib/ability_services_pb.rb | |
| parent | 61b6d010fce0925e3d27ff33484153170e28147c (diff) | |
feat: connect REST API to gRPC Ability.allowed? service
Diffstat (limited to 'lib/ability_services_pb.rb')
| -rw-r--r-- | lib/ability_services_pb.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/ability_services_pb.rb b/lib/ability_services_pb.rb new file mode 100644 index 0000000..7aec39b --- /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 |
