Sha256: d62f806ff29f0a55f6dc20e5657b25cf72580273fd1fa21d9ebe711465d52bd2
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
<ul class='breadcrumb'> <li> <a href='<%= @doc[:doc_url] %>.html'><%= @doc[:name] %> <%= @resource[:version] %></a> <span class='divider'>/</span> </li> <li> <a href='<%= @resource[:doc_url] %>.html'> <%= @resource[:name] %> <% if @resource[:version] %><% end %> </a> <span class='divider'>/</span> </li> <li class='active'><%= @method[:name] %></li> </ul> <% @method[:apis].each do |api| %> <div class='page-header'> <h1> <%= api[:http_method] %> <%= api[:api_url] %><br> <small><%= raw api[:short_description] %></small> </h1> </div> <% end %> <div> <% unless @method[:see_url].blank? %> Also see <%= link_to @method[:see], @method[:see_url] %>. <% end %> <%= raw @method[:full_description] %> <% unless @method[:examples].blank? %> <h2>Examples</h2> <% @method[:examples].each do |example| %> <pre class="prettyprint"><%= example %></pre> <% end %> <% end %> <% unless @method[:formats].blank? %> <h2>Supported Formats</h2> <%= @method[:formats].join(', ') %> <% end %> <% unless @method[:errors].blank? %> <h2>Errors</h2> <% @method[:errors].each do |err| %> <%= err[:code] %> <%= err[:description] %> <br> <% end %> <% end %> <% unless @method[:params].blank? %> <h2>Params</h2> <table class='table'> <thead> <tr> <th>Param name</th> <th>Description</th> </tr> </thead> <tbody> <%= render(:partial => "params", :locals => {:params => @method[:params]}) %> </tbody> </table> <% end %> </div> <% content_for :apipie_footer do %> <%= raw @doc[:copyright] %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
apipie-rails-0.0.16 | app/views/apipie/apipies/method.html.erb |
apipie-rails-0.0.15 | app/views/apipie/apipies/method.html.erb |
apipie-rails-0.0.14 | app/views/apipie/apipies/method.html.erb |