Sha256: 48f96b37f24231162bdaffb815394b717e01f88f5429937e682822d35e76632a

Contents?: true

Size: 973 Bytes

Versions: 9

Compression:

Stored size: 973 Bytes

Contents

## <%= information[:endpoint_title] || ' ' %>

#### <%= request.method %> <%= request.path %>

<%= information[:about] %>

### Query Parameters
| Parameter | Value |
| --------- | ----- |
<%=
  table_entries = []
  request_params = request.params.except(:controller, :action, :format)
  request_params.each do |param, value|
    table_entries << "| #{param} | #{value} |"
  end

  table_entries << "| none | nil |" if table_entries.empty?
  table_entries.join("\n")
%>

### Response
**Status: <%= response.status %>**

**Response Headers**

| Field | Value |
| ----- | ----- |
<%=
table_entries = []
response.headers.each do |header, value|
  table_entries << "| #{header} | #{value} |"
end

table_entries << "| none | nil |" if table_entries.empty?
table_entries.join("\n")
%>

**JSON Example**
```json
<%= JSON.pretty_generate(JSON.parse(response.body)) %>
```

<%= information[:note] %>

=================================================================================

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
smashing_docs-1.3.6 lib/templates/real_template.md
smashing_docs-1.3.5 lib/templates/real_template.md
smashing_docs-1.3.4 lib/templates/real_template.md
smashing_docs-1.3.3 lib/templates/real_template.md
smashing_docs-1.3.2 lib/templates/real_template.md
smashing_docs-1.3.1 lib/templates/real_template.md
smashing_docs-1.2.1 lib/templates/real_template.md
smashing_docs-1.2.0 lib/templates/real_template.md
smashing_docs-1.1.0 lib/templates/real_template.md