Sha256: 976f9c5af6a56ef014c658aaa46ffbcf3a33bfe4129466b629bf9f06fa236256

Contents?: true

Size: 904 Bytes

Versions: 4

Compression:

Stored size: 904 Bytes

Contents

<section class="params">
  <h3>Parameters</h3>
  <div class="table-responsive">
    <table class="table table-bordered">
      <tr>
        <% param_headers(params).each do |title| %>
          <th><%= title %></th>
        <% end %>
      </tr>
      <% params.each do |param| %>
        <tr>
          <td class="name">
            <% if param['scope'] %>
              <%= "#{param['scope']}[#{param['name']}]" %>
            <% else %>
              <%= param['name'] %>
            <% end %>
            <% if param['required'] %>
              <span class="label label-danger required">required</span>
            <% end %>
          </td>
          <td class="description"><%= param['description'] %></td>
          <% param_extras(params).each do |extra| %>
            <td class="extra"><%= param[extra] %></td>
          <% end %>
        </tr>
      <% end %>
    </table>
  </div>
</section>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
apitome-0.0.7 app/views/apitome/docs/_params.html.erb
apitome-0.0.6 app/views/apitome/docs/_params.html.erb
agilib-0.1.9 app/views/apitome/docs/_params.html.erb
agilib-0.1.8 app/views/apitome/docs/_params.html.erb