spec/support/protobuf/post.pb.rb in active_remote-7.0.0 vs spec/support/protobuf/post.pb.rb in active_remote-7.1.0

- old
+ new

@@ -1,32 +1,30 @@ -# 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 'category.pb' +require "error.pb" +require "category.pb" module Generic module Remote ::Protobuf::Optionable.inject(self) { ::Google::Protobuf::FileOptions } ## # 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 @@ -46,11 +44,10 @@ 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 @@ -60,10 +57,7 @@ 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 -