spec/support/protobuf/author.pb.rb in active_remote-7.0.0 vs spec/support/protobuf/author.pb.rb in active_remote-7.1.0
- old
+ new
@@ -1,31 +1,29 @@
-# encoding: utf-8
-
##
# This file is auto-generated. DO NOT EDIT!
#
-require 'protobuf'
-require 'protobuf/rpc/service'
+require "protobuf"
+require "protobuf/rpc/service"
-
##
# Imports
#
-require 'error.pb'
+require "error.pb"
module Generic
module Remote
::Protobuf::Optionable.inject(self) { ::Google::Protobuf::FileOptions }
##
# Message Classes
#
class Author < ::Protobuf::Message; end
+
class Authors < ::Protobuf::Message; end
+
class AuthorRequest < ::Protobuf::Message; end
-
##
# Message Fields
#
class Author
optional :string, :guid, 1
@@ -41,11 +39,10 @@
class AuthorRequest
repeated :string, :guid, 1
repeated :string, :name, 2
end
-
##
# Service Classes
#
class AuthorService < ::Protobuf::Rpc::Service
rpc :search, ::Generic::Remote::AuthorRequest, ::Generic::Remote::Authors
@@ -55,10 +52,7 @@
rpc :create_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
rpc :update_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
rpc :delete_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
rpc :destroy_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
end
-
end
-
end
-