Sha256: 8daa8fe32d48cdc006d15c69422d1ba895c0abb25e589d52470332ddfbb3087f
Contents?: true
Size: 1.71 KB
Versions: 4
Compression:
Stored size: 1.71 KB
Contents
<div id="page"> <div id="content"> <h1> <%=# render_erb('shared/endpoint_name.html.erb', endpoint_presenter.get_binding) %> </h1> <div id="nav"> <% if @endpoint.service.meta_service %> <a href="<%= @service_presenter.html_directory %>"> » <%=# @endpoint.service.meta_service.name %> </a> <% end %> <% if @service_presenter %> <%= @service_presenter.name_as_link(:prefix => '»') %> <% end %> </div> <%= @endpoint_presenter.description %> <% if show_request? %> <%= tag_with_anchor('h2', 'Request') %> <%= tag_with_anchor('h3', 'Example Request') %> <%= example_request.to_html %> <%= tag_with_anchor('h3', 'Request Parameters') %> <%= request_parameters.to_html %> <% end %> <%= tag_with_anchor('h2', 'Response') %> <% if show_response? %> <%= tag_with_anchor('h3', 'Example Response') %> <%= example_response.to_html %> <%= tag_with_anchor('h3', 'Response Parameters') %> <%= response_parameters.to_html %> <% end %> <%= tag_with_anchor('h3', 'Response Codes') %> <% if !successful_response_codes.empty? %> <%= tag_with_anchor('h4', 'Successful Response Codes') %> <ul> <% successful_response_codes.each do |response_code| %> <li> <%= response_code.to_html %> </li> <% end %> </ul> <% end %> <% if !failure_response_codes.empty? %> <%= tag_with_anchor('h4', 'Failure Response Codes') %> <ul> <% failure_response_codes.each do |response_code| %> <li> <%= response_code.to_html %> </li> <% end %> </ul> <% end %> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems