Sha256: da81a00688d1e6d16811ef38cf3000bf918835ba3700558907ff4e56bdb81361
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 KB
Contents
<ul class='breadcrumb'> <li class='active'><a href='<%= @doc[:doc_url] %><%= @doc[:link_extension] %>'><%= @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] %><%= @doc[:link_extension] %>'> <%= 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] %><%= @doc[:link_extension] %>'><%= 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apipie-rails-0.1.3 | app/views/apipie/apipies/index.html.erb |
apipie-rails-0.1.2 | app/views/apipie/apipies/index.html.erb |
apipie-rails-0.1.1 | app/views/apipie/apipies/index.html.erb |