spec/support/protobuf/author.pb.rb in active_remote-1.8.1 vs spec/support/protobuf/author.pb.rb in active_remote-2.0.0.rc1
- old
+ new
@@ -23,22 +23,22 @@
##
# Message Fields
#
class Author
- optional ::Protobuf::Field::StringField, :guid, 1
- optional ::Protobuf::Field::StringField, :name, 2
+ optional :string, :guid, 1
+ optional :string, :name, 2
repeated ::Generic::Error, :errors, 3
- optional ::Protobuf::Field::StringField, :user_guid, 4
+ optional :string, :user_guid, 4
end
class Authors
repeated ::Generic::Remote::Author, :records, 1
end
class AuthorRequest
- repeated ::Protobuf::Field::StringField, :guid, 1
- repeated ::Protobuf::Field::StringField, :name, 2
+ repeated :string, :guid, 1
+ repeated :string, :name, 2
end
##
# Service Classes