Sha256: a09d84a3900fe2146959c656b2772a9e1e2958c00b6ab4f60619f1e788e502c5
Contents?: true
Size: 1.14 KB
Versions: 13
Compression:
Stored size: 1.14 KB
Contents
<ul class='breadcrumb'> <li class='active'><a href='<%= @doc[:doc_url] %>.html'><%= @doc[:name] %> <%= @doc[:resources].values.first[:version] %></a></li> <% if @versions && @versions.size > 1 %> <li class='pull-right'> <%= @versions.collect { |v| link_to v, Apipie.full_url(v) }.join(' / ').html_safe %> </li> <% end %> </ul> <div><%= raw @doc[:info] %></div> <h1 class='page-header'>Resources</h1> <% @doc[:resources].sort_by(&:first).each do |key, api| %> <h2> <a href='<%= api[:doc_url] %>.html'> <%= api[:name] %> </a><br> <small><%= api[:short_description] %></small> </h2> <table class='table'> <thead> <tr> <th>Resource</th> <th>Description</th> </tr> </thead> <tbody> <% api[:methods].each do |m| %> <% m[:apis].each do |a| %> <tr> <td><a href='<%= m[:doc_url] %>.html'><%= a[:http_method] %> <%= a[:api_url] %></a></td> <td width='60%'><%= a[:short_description] %></td> </tr> <% end %> <% end %> </tbody> </table> <% end %> <% content_for :apipie_footer do %> <%= raw @doc[:copyright] %> <% end %>
Version data entries
13 entries across 13 versions & 2 rubygems