Sha256: 0c2af0cea8de09952f5b29595f4a10761124926e1352dd01873cdf931b81fdcb

Contents?: true

Size: 859 Bytes

Versions: 4

Compression:

Stored size: 859 Bytes

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: prefab.proto for package 'prefab'

require 'grpc'
require 'prefab_pb'

module Prefab
  module RateLimitService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'prefab.RateLimitService'

      rpc :LimitCheck, LimitRequest, LimitResponse
    end

    Stub = Service.rpc_stub_class
  end
  module ConfigService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'prefab.ConfigService'

      rpc :GetConfig, ConfigServicePointer, stream(ConfigDeltas)
      rpc :Upsert, ConfigDelta, ConfigServicePointer
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prefab-cloud-ruby-0.0.10 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.0.9 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.0.8 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.0.7 lib/prefab_services_pb.rb