doc/index.html in contentful-2.1.3 vs doc/index.html in contentful-2.2.0
- old
+ new
@@ -358,10 +358,17 @@
something like <code>Rails::cache</code> it's advisable to considerably
lower this value (around 5 has proven to be a good compromise - but keep it
higher or equal than your maximum API-level include parameter if you need
the entire tree resolution).</p>
+<h3 id="label-3Ause_camel_case">:use_camel_case</h3>
+
+<p>When doing the v2 upgrade, all keys and accessors were changed to always
+use <code>snake_case</code>. This option introduces the ability to use
+<code>camelCase</code> for keys and method accessors. This is very useful
+for isomorphic applications.</p>
+
<h3 id="label-Proxy+example">Proxy example</h3>
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_client'>client</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Contentful.html" title="Contentful (module)">Contentful</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Contentful/Client.html" title="Contentful::Client (class)">Client</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Contentful/Client.html#initialize-instance_method" title="Contentful::Client#initialize (method)">new</a></span></span><span class='lparen'>(</span>
<span class='label'>access_token:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>b4c0n73n7fu1</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
<span class='label'>space:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cfexampleapi</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
@@ -551,10 +558,10 @@
<p>See LICENSE.txt for further details.</p>
</div></div>
<div id="footer">
- Generated on Thu Aug 17 09:42:18 2017 by
+ Generated on Tue Oct 24 14:05:57 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.4.1).
</div>
</div>
\ No newline at end of file