Sha256: fb21df0050c7618f84565e1dc81c6162bfa8e8d8145f0ea0f53ed1cc970db39c

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

<h2>Contents</h2>
<p>
Every input parameter is represented by a file that can be written to. If a file
is not changed, the parameter it represents will not be sent to the API -- it is
possible to send only a subset of input parameters.
</p>
<table class="table table-striped table-bordered table-hover">
    <tr>
        <th>Name</th>
        <th>Label</th>
        <th>Required?</th>
        <th>Data type</th>
        <th>Validators</th>
        <th>Default value</th>
        <th>Description</th>
    </tr>
    <% @c.parameters.each do |name, desc| %>
        <tr>
            <td><%= name %></td>
            <td><%= desc[:label] %></td>
            <td><%= desc[:required] ? 'yes' : 'no' %></td>
            <td><%= desc[:type] %></td>
            <td>
                <% if desc[:validators] -%>
                    <% desc[:validators].each do |name, desc| %>
                        <%= name.capitalize %>
                        <dl>
                            <% desc.each do |k, v| %>
                            <dt><%= k %></dt>
                            <dd><%= v %></dd>
                            <% end -%>
                        </dl>
                    <% end -%>
                <% end -%>
            </td>
            <td><%= desc[:default] %></td>
            <td><%= desc[:description] %></td>
        </tr>
    <% end -%>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
haveapi-fs-0.11.0 templates/help/html/action_input.erb
haveapi-fs-0.10.0 templates/help/html/action_input.erb
haveapi-fs-0.9.0 templates/help/html/action_input.erb
haveapi-fs-0.8.0 templates/help/html/action_input.erb
haveapi-fs-0.7.1 templates/help/html/action_input.erb
haveapi-fs-0.7.0 templates/help/html/action_input.erb