Sha256: 81ce109217c8ba34f5b3a7da7a0db15e452d98c4f44b1d09fbcec60bfe75ec8b

Contents?: true

Size: 1.29 KB

Versions: 8

Compression:

Stored size: 1.29 KB

Contents

<h1 id="endpoint" class="page-header"><%= @endpoint_presenter.title %></h1>
<% if @endpoint_presenter.description.present? %>
  <p class="lead"><%= @endpoint_presenter.description %></p>
<% end %>

<pre><%= @endpoint_presenter.verb %> <%= @endpoint_presenter.named_path %></pre>

<h3>Example</h3>
<%= render 'submit_form' %>

<div id="show-api-response-div" class="highlight">
  <table class="small table table-condensed" ref="response-info" style="display: none;">
    <tr class="status">
      <th class="name">Status:</th>
      <td class="value"></td>
    </tr>
    <tr class="time">
      <th class="name">Time:</th>
      <td class="value"></td>
    </tr>
    <tr class="headers">
      <th class="name">Headers:</th>
      <td>
        <a href="javascript:void(0)" data-toggle="collapse" data-target="#headers">Toggle</a>
        <div id="headers" class="collapse value"></div>
      </td>
    </tr>
  </table>
  <pre><code id="response" ref="response-example" class="hljs"><%= @endpoint_presenter.example_response.html_safe %></code></pre>
  <pre><code ref="response-raw" style="display: none;"></code></pre>
</div> <!-- ./#show-api-response-div -->

<h3>Request Schema</h3>
<%= raw @endpoint_presenter.request_parameters.to_html %>

<h3>Response Schema</h3>
<%= raw @endpoint_presenter.response_parameters.to_html %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lurker-0.6.9 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.8 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.7 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.6 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.5 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.4 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.3 lib/lurker/templates/lurker/rendering/show.html.erb
lurker-0.6.2 lib/lurker/templates/lurker/rendering/show.html.erb