# Code generated by protoc-gen-twirp_ruby 1.0.0, DO NOT EDIT.
require 'twirp'
require_relative 'service_pb.rb'

module Code
  module Justin
    module Tv
      module Commerce
        module Petozi
          class PetoziService < Twirp::Service
            package 'code.justin.tv.commerce.petozi'
            service 'Petozi'
            rpc :HealthCheck, HealthCheckReq, HealthCheckResp, :ruby_method => :health_check
            rpc :GetBitsType, GetBitsTypeReq, GetBitsTypeResp, :ruby_method => :get_bits_type
            rpc :GetBitsTypes, GetBitsTypesReq, GetBitsTypesResp, :ruby_method => :get_bits_types
            rpc :PutBitsType, PutBitsTypeReq, PutBitsTypeResp, :ruby_method => :put_bits_type
            rpc :PutBitsProduct, PutBitsProductReq, PutBitsProductResp, :ruby_method => :put_bits_product
            rpc :GetBitsProduct, GetBitsProductReq, GetBitsProductResp, :ruby_method => :get_bits_product
            rpc :GetBitsProducts, GetBitsProductsReq, GetBitsProductsResp, :ruby_method => :get_bits_products
            rpc :ResetCaches, ResetCachesReq, ResetCachesResp, :ruby_method => :reset_caches
          end

          class PetoziClient < Twirp::Client
            client_for PetoziService
          end
        end
      end
    end
  end
end
