Sha256: a2d8bb5b41a5b4dacf8a39c5bff885af61ac3dfe454011c7ff8409ad95ce9ccf

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

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

require_relative "blog_pb"
module Souls
  module Blog
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'Souls.Blog'

      # Sends a greeting
      rpc :SayHello, ::Souls::HelloRequest, ::Souls::HelloReply
      # Sends another greeting
      rpc :SayHelloAgain, ::Souls::HelloRequest, ::Souls::HelloReply
      # Blog Service Sample
      rpc :GetArticle, ::Souls::GetArticlRequest, ::Souls::GetArticleReply
      rpc :GetArticles, ::Souls::GetArticlesRequest, stream(::Souls::Article)
      rpc :CreateArticle, ::Souls::Article, ::Souls::CreateArticleReply
      rpc :UpdateArticles, stream(::Souls::Article), ::Souls::UpdateArticlesReply
      rpc :DeleteArticle, ::Souls::DeleteArticlRequest, ::Souls::DeleteArticleReply
      rpc :CreateArticlesInStream, stream(::Souls::Article), stream(::Souls::Article)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
souls-0.8.3 souls_service-0.0.8/app/services/souls.rb
souls-0.8.2 souls_service-0.0.8/app/services/souls.rb
souls-0.8.1 souls_service-0.0.8/app/services/souls.rb