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