Sha256: 8cd64dc128711dfb595be8a7237481e10194b0b1e003c83d606ebb9d59339276

Contents?: true

Size: 1.57 KB

Versions: 26

Compression:

Stored size: 1.57 KB

Contents

##
# This file is auto-generated. DO NOT EDIT!
#
require 'protobuf/message'
require 'protobuf/rpc/service'


##
# Imports
#
require 'error.pb'
require 'category.pb'

module Generic
  module Remote

    ##
    # Message Classes
    #
    class Post < ::Protobuf::Message; end
    class Posts < ::Protobuf::Message; end
    class PostRequest < ::Protobuf::Message; end


    ##
    # Message Fields
    #
    class Post
      optional :string, :guid, 1
      optional :string, :name, 2
      optional :string, :author_guid, 3
      optional ::Generic::Remote::Category, :category, 4
      repeated ::Generic::Error, :errors, 5
      optional :string, :user_guid, 6
    end

    class Posts
      repeated ::Generic::Remote::Post, :records, 1
    end

    class PostRequest
      repeated :string, :guid, 1
      repeated :string, :name, 2
      repeated :string, :author_guid, 3
      repeated :string, :user_guid, 4
    end


    ##
    # Service Classes
    #
    class PostService < ::Protobuf::Rpc::Service
      rpc :search, ::Generic::Remote::PostRequest, ::Generic::Remote::Posts
      rpc :create, ::Generic::Remote::Post, ::Generic::Remote::Post
      rpc :update, ::Generic::Remote::Post, ::Generic::Remote::Post
      rpc :delete, ::Generic::Remote::Post, ::Generic::Remote::Post
      rpc :create_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
      rpc :update_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
      rpc :delete_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
      rpc :destroy_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
    end

  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
active_remote-2.1.0.beta2 spec/support/protobuf/post.pb.rb
active_remote-2.1.0.beta1 spec/support/protobuf/post.pb.rb
active_remote-2.0.2 spec/support/protobuf/post.pb.rb
active_remote-2.0.1 spec/support/protobuf/post.pb.rb
active_remote-2.0.0 spec/support/protobuf/post.pb.rb
active_remote-2.0.0.rc2 spec/support/protobuf/post.pb.rb