<% @method[:apis].each do |api| %> <% end %>
<% unless @method[:see_url].blank? %> Also see <%= link_to @method[:see], @method[:see_url] %>. <% end %> <%= raw @method[:full_description] %> <% unless @method[:examples].blank? %>

Examples

<% @method[:examples].each do |example| %>
<%= example %>
<% end %> <% end %> <% unless @method[:formats].blank? %>

Supported Formats

<%= @method[:formats].join(', ') %> <% end %> <% unless @method[:errors].blank? %>

Errors

<% @method[:errors].each do |err| %> <%= err[:code] %> <%= err[:description] %>
<% end %> <% end %> <% unless @method[:params].blank? %>

Params

<%= render(:partial => "params", :locals => {:params => @method[:params]}) %>
Param name Description
<% end %>
<% content_for :apipie_footer do %> <%= raw @doc[:copyright] %> <% end %>