Sha256: 5d6efb4c57fee1353bd4eb731a1653ed342cd7872ed786e738ebdfc4dbab7ca7

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

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, ::Prefab::LimitRequest, ::Prefab::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, ::Prefab::ConfigServicePointer, stream(::Prefab::Configs)
      rpc :GetAllConfig, ::Prefab::ConfigServicePointer, ::Prefab::Configs
      rpc :Upsert, ::Prefab::Config, ::Prefab::CreationResponse
    end

    Stub = Service.rpc_stub_class
  end
  module IdService
    class Service

      include ::GRPC::GenericService

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

      rpc :GetBlock, ::Prefab::IdBlockRequest, ::Prefab::IdBlock
    end

    Stub = Service.rpc_stub_class
  end
  module ClientService
    class Service

      include ::GRPC::GenericService

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

      rpc :GetAll, ::Prefab::Identity, ::Prefab::ConfigEvaluations
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prefab-cloud-ruby-0.21.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.12.0 lib/prefab_services_pb.rb