Sha256: f7dac99a68295ef139298b183ff4682a2afd9d7ebdd15ba9d61d6c8ead7f7fff

Contents?: true

Size: 658 Bytes

Versions: 3

Compression:

Stored size: 658 Bytes

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sum.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message '<%= @name %>.sum_handler.Request' do
    optional :a, :int32, 1
    optional :b, :int32, 2
  end
  add_message '<%= @name %>.sum_handler.Response' do
    optional :total, :int32, 1
  end
end

module <%= @class_name %>
  module SumHandler
    Request  = Google::Protobuf::DescriptorPool.generated_pool.lookup('<%= @name %>.sum_handler.Request').msgclass
    Response = Google::Protobuf::DescriptorPool.generated_pool.lookup('<%= @name %>.sum_handler.Response').msgclass
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
micro-rb-0.1.0.rc3 templates/lib/app/proto/sum_pb.rb
micro-rb-0.1.0.rc2 templates/lib/app/proto/sum_pb.rb
micro-rb-0.1.0.rc1 templates/lib/app/proto/sum_pb.rb