Sha256: 72c584be93ae97e44f392fdd0024d5e45d80da5bf73aef6daa0add68b3a8a2a0

Contents?: true

Size: 776 Bytes

Versions: 14

Compression:

Stored size: 776 Bytes

Contents

<%- assert_locals message -%>
<%- if message.doc_description -%>
<%= indent message.doc_description, "# " %>
<%- end -%>
<%- message.fields.each do |field| -%>
<%= indent field.doc_attribute_type, "# " %>
#   @return [<%= field.output_doc_types %>]
<%- if field.doc_description -%>
<%= indent field.doc_description, "#     " %>
<%- end -%>
<%- end -%>
class <%= message.name %>
  include Google::Protobuf::MessageExts
  extend Google::Protobuf::MessageExts::ClassMethods
  <%- message.nested_messages.each do |submsg| -%>

  <%= indent_tail render(partial: "proto_docs/message", locals: { message: submsg }), 2 %>
  <%- end -%>
  <%- message.nested_enums.each do |enum| -%>

  <%= indent_tail render(partial: "proto_docs/enum", locals: { enum: enum }), 2 %>
  <%- end -%>
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gapic-generator-0.4.0 templates/default/proto_docs/_message.erb
gapic-generator-0.3.3 templates/default/proto_docs/_message.erb
gapic-generator-0.3.1 templates/default/proto_docs/_message.erb
gapic-generator-0.3.0 templates/default/proto_docs/_message.erb
gapic-generator-0.2.3 templates/default/proto_docs/_message.erb
gapic-generator-0.2.2 templates/default/proto_docs/_message.erb
gapic-generator-0.2.0 templates/default/proto_docs/_message.erb
gapic-generator-0.1.7 templates/default/proto_docs/_message.erb
gapic-generator-0.1.5 templates/default/proto_docs/_message.erb
gapic-generator-0.1.4 templates/default/proto_docs/_message.erb
gapic-generator-0.1.3 templates/default/proto_docs/_message.erb
gapic-generator-0.1.2 templates/default/proto_docs/_message.erb
gapic-generator-0.1.1 templates/default/proto_docs/_message.erb
gapic-generator-0.1.0 templates/default/proto_docs/_message.erb