Sha256: d5d04fef19199a2b80246d863b48db96bda0077092bd98c3af583302295d1163

Contents?: true

Size: 370 Bytes

Versions: 14

Compression:

Stored size: 370 Bytes

Contents

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

    <% tags.each do |tag| %>
      <%= tag_partial '_example_code_block', tag %>
    <% 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_response.erb
yard-api-1.1.1 templates/api/tags/html/example_response.erb
yard-api-1.1.0 templates/api/tags/html/example_response.erb
yard-api-1.0.1 templates/api/tags/html/example_response.erb
yard-api-1.0.0 templates/api/tags/html/example_response.erb
yard-api-0.3.7 templates/api/tags/html/example_response.erb
yard-api-0.3.6 templates/api/tags/html/example_response.erb
yard-api-0.3.5 templates/api/tags/html/example_response.erb
yard-api-0.3.4 templates/api/tags/html/example_response.erb
yard-api-0.3.3 templates/api/tags/html/example_response.erb
yard-api-0.3.2 templates/api/tags/html/example_response.erb
yard-api-0.3.1 templates/api/tags/html/example_response.erb
yard-api-0.3.0 templates/api/tags/html/example_response.erb
yard-api-0.2.3 templates/api/tags/html/example_response.erb