Sha256: ba52f0de33b0b244b22d926b665976e3445b923a8c1a0e746f803a5dd9ebac70

Contents?: true

Size: 1.63 KB

Versions: 10

Compression:

Stored size: 1.63 KB

Contents

# frozen_string_literal: true
# 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

10 entries across 10 versions & 1 rubygems

Version Path
prefab-cloud-ruby-0.20.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.19.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.18.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.17.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.16.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.15.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.14.0 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.13.3 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.13.2 lib/prefab_services_pb.rb
prefab-cloud-ruby-0.13.0 lib/prefab_services_pb.rb