Sha256: c81e3a8b3e5ab7d50e2cad74f532c49a9211de73b4c2c2a0e5a725353e566441

Contents?: true

Size: 1.67 KB

Versions: 20

Compression:

Stored size: 1.67 KB

Contents

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

##
# Imports
#
require 'support/protobuf/error.pb'
require 'support/protobuf/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 ::Protobuf::Field::StringField, :guid, 1
      optional ::Protobuf::Field::StringField, :name, 2
      optional ::Protobuf::Field::StringField, :author_guid, 3
      optional ::Generic::Remote::Category, :category, 4
      repeated ::Generic::Error, :errors, 5
    end
    
    class Posts
      repeated ::Generic::Remote::Post, :records, 1
    end
    
    class PostRequest
      repeated ::Protobuf::Field::StringField, :guid, 1
      repeated ::Protobuf::Field::StringField, :name, 2
      repeated ::Protobuf::Field::StringField, :author_guid, 3
    end
    
    ##
    # Services
    #
    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

20 entries across 20 versions & 1 rubygems

Version Path
active_remote-1.7.1 spec/support/protobuf/post.pb.rb
active_remote-1.7.0 spec/support/protobuf/post.pb.rb
active_remote-1.6.1 spec/support/protobuf/post.pb.rb
active_remote-1.6.0 spec/support/protobuf/post.pb.rb
active_remote-1.5.9 spec/support/protobuf/post.pb.rb
active_remote-1.5.8 spec/support/protobuf/post.pb.rb
active_remote-1.5.7 spec/support/protobuf/post.pb.rb
active_remote-1.5.6 spec/support/protobuf/post.pb.rb
active_remote-1.5.5 spec/support/protobuf/post.pb.rb
active_remote-1.5.4 spec/support/protobuf/post.pb.rb
active_remote-1.5.2 spec/support/protobuf/post.pb.rb
active_remote-1.5.1 spec/support/protobuf/post.pb.rb
active_remote-1.5.0 spec/support/protobuf/post.pb.rb
active_remote-1.4.1 spec/support/protobuf/post.pb.rb
active_remote-1.4.0 spec/support/protobuf/post.pb.rb
active_remote-1.3.3 spec/support/protobuf/post.pb.rb
active_remote-1.3.2 spec/support/protobuf/post.pb.rb
active_remote-1.3.1 spec/support/protobuf/post.pb.rb
active_remote-1.3.0 spec/support/protobuf/post.pb.rb
active_remote-1.2.1 spec/support/protobuf/post.pb.rb