Sha256: d25be4d7eff042f369e5230be49fa53d7688f2156768684c7c7a20324cebce8a

Contents?: true

Size: 379 Bytes

Versions: 14

Compression:

Stored size: 379 Bytes

Contents

<% if object.has_tag?(:example_request) %>
  <div class="examples">
    <% if object.tags(:example_request).length > 1 %>
      <h4>Example Requests</h4>
    <% else %>
      <h4>Example Request</h4>
    <% end %>

    <% object.tags(:example_request).each do |tag| %>
      <%= tag_partial '_example_code_block', tag, { multi_dialect: true } %>
    <% end %>
  </div>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
yard-api-1.1.2 templates/api/tags/html/example_request.erb
yard-api-1.1.1 templates/api/tags/html/example_request.erb
yard-api-1.1.0 templates/api/tags/html/example_request.erb
yard-api-1.0.1 templates/api/tags/html/example_request.erb
yard-api-1.0.0 templates/api/tags/html/example_request.erb
yard-api-0.3.7 templates/api/tags/html/example_request.erb
yard-api-0.3.6 templates/api/tags/html/example_request.erb
yard-api-0.3.5 templates/api/tags/html/example_request.erb
yard-api-0.3.4 templates/api/tags/html/example_request.erb
yard-api-0.3.3 templates/api/tags/html/example_request.erb
yard-api-0.3.2 templates/api/tags/html/example_request.erb
yard-api-0.3.1 templates/api/tags/html/example_request.erb
yard-api-0.3.0 templates/api/tags/html/example_request.erb
yard-api-0.2.3 templates/api/tags/html/example_request.erb