1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>acts_as_api</title>
<meta content="A Ruby/Rails gem to easily generate web api reponses!" name="description" />
<meta content="Christian Bäuerlein" name="author" />
<meta content="en" name="language" />
<link rel="stylesheet" href="./docco.css">
<link href="http://fonts.googleapis.com/css?family=Copse:regular" rel="stylesheet" type="text/css" >
<style>
h1, h2, h3, h4, h5 {
font-family: 'Copse', serif;
font-style: normal;
font-weight: 700;
text-shadow: none;
text-decoration: none;
text-transform: none;
letter-spacing: 0em;
word-spacing: 0em;
line-height: 1.2;
}
</style>
</head>
<body>
<div id='container'>
<div id="background"></div>
{{#sources?}}
<div id="jump_to">
Jump To …
<div id="jump_wrapper">
<div id="jump_page">
{{#sources}}
<a class="source" href="{{ url }}">{{ basename }}</a>
{{/sources}}
</div>
</div>
</div>
{{/sources?}}
<table cellspacing=0 cellpadding=0>
<thead>
<tr>
<th class=docs>
<h1>acts_as_api</h1>
<p>Makes creating XML/JSON responses in Rails 3, 4 and 5 easy and fun.</p>
</th>
<th class=code></th>
</tr>
</thead>
<tbody>
{{#sections}}
<tr id='section-{{ section_id }}'>
<td class=docs>
<div class="pilwrap">
<a class="pilcrow" href="#section-{{ section_id }}">¶</a>
</div>
{{{ docs }}}
</td>
<td class=code>
<div class='highlight'><pre>{{{ code }}}</pre></div>
</td>
</tr>
{{/sections}}
</table>
</div>
<a href="https://github.com/fabrik42/acts_as_api"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://assets1.github.com/img/7afbc8b248c68eb468279e8c17986ad46549fb71?repo=&url=http%3A%2F%2Fs3.amazonaws.com%2Fgithub%2Fribbons%2Fforkme_right_darkblue_121621.png&path=" alt="Fork me on GitHub"></a>
</body>
|