lib/nuva/Code_pb.rb in nuva-0.1.7 vs lib/nuva/Code_pb.rb in nuva-0.1.8
- old
+ new
@@ -2,13 +2,13 @@
# source: Code.proto
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
- add_file("Code.proto", :syntax => :proto2) do
+ add_file("Code.proto", :syntax => :proto3) do
add_message "nuva.Code" do
- required :nomenclature, :string, 1
- required :value, :string, 2
+ optional :nomenclature, :string, 1
+ optional :value, :string, 2
end
end
end
module Nuva