Sha256: 915d51e8b148e1a5a2fb0dfc77b352f501a80bf499c7c7d9a64defad64efe484
Contents?: true
Size: 1.71 KB
Versions: 9
Compression:
Stored size: 1.71 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].empty? %> Also see <%= @method[:see].map { |s| link_to(s[:description], "#{s[:link]}.html") }.to_sentence.html_safe %>. <% 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
9 entries across 9 versions & 2 rubygems