doc/Contentful/Resource/AssetFields.html in contentful-0.10.0 vs doc/Contentful/Resource/AssetFields.html in contentful-0.11.0
- old
+ new
@@ -1,94 +1,96 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Module: Contentful::Resource::AssetFields
- — Documentation by YARD 0.8.7.6
+ — Documentation by YARD 0.9.5
</title>
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
- hasFrames = window.top.frames.main ? true : false;
+ pathId = "Contentful::Resource::AssetFields";
relpath = '../../';
- framesUrl = "../../frames.html#!Contentful/Resource/AssetFields.html";
</script>
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
</head>
<body>
- <div id="header">
- <div id="menu">
+ <div class="nav_wrap">
+ <iframe id="nav" src="../../class_list.html"></iframe>
+ <div id="resizer"></div>
+ </div>
+
+ <div id="main" tabindex="-1">
+ <div id="header">
+ <div id="menu">
<a href="../../_index.html">Index (A)</a> »
<span class='title'><span class='object_link'><a href="../../Contentful.html" title="Contentful (module)">Contentful</a></span></span> » <span class='title'><span class='object_link'><a href="../Resource.html" title="Contentful::Resource (module)">Resource</a></span></span>
»
<span class="title">AssetFields</span>
-
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
- <div id="search">
+ <div id="search">
<a class="full_list_link" id="class_list_link"
href="../../class_list.html">
- Class List
+
+ <svg width="24" height="24">
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
+ </svg>
</a>
- <a class="full_list_link" id="method_list_link"
- href="../../method_list.html">
- Method List
- </a>
-
- <a class="full_list_link" id="file_list_link"
- href="../../file_list.html">
- File List
- </a>
-
</div>
- <div class="clear"></div>
- </div>
+ <div class="clear"></div>
+ </div>
- <iframe id="search_frame"></iframe>
+ <iframe id="search_frame" src="../../class_list.html"></iframe>
- <div id="content"><h1>Module: Contentful::Resource::AssetFields
+ <div id="content"><h1>Module: Contentful::Resource::AssetFields
</h1>
+<div class="box_info">
+
-<dl class="box">
-
-
- <dt class="r1">Included in:</dt>
- <dd class="r1"><span class='object_link'><a href="../Asset.html" title="Contentful::Asset (class)">Asset</a></span></dd>
-
+
+ <dl>
+ <dt>Included in:</dt>
+ <dd><span class='object_link'><a href="../Asset.html" title="Contentful::Asset (class)">Asset</a></span></dd>
+ </dl>
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/contentful/resource/asset_fields.rb</dd>
+
-</dl>
-<div class="clear"></div>
+ <dl>
+ <dt>Defined in:</dt>
+ <dd>lib/contentful/resource/asset_fields.rb</dd>
+ </dl>
+
+</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Special fields for Asset. Don't include together wit
@@ -102,15 +104,14 @@
<div class="tags">
</div>
<h2>Constant Summary</h2>
-
- <dl class="constants">
-
- <dt id="FIELDS_COERCIONS-constant" class="">FIELDS_COERCIONS =
- <div class="docstring">
+ <dl class="constants">
+
+ <dt id="FIELDS_COERCIONS-constant" class="">FIELDS_COERCIONS =
+ <div class="docstring">
<div class="discussion">
<p>Special field coercions for Asset.</p>
@@ -118,38 +119,37 @@
</div>
<div class="tags">
</div>
- </dt>
- <dd><pre class="code"><span class='lbrace'>{</span>
+ </dt>
+ <dd><pre class="code"><span class='lbrace'>{</span>
<span class='label'>title:</span> <span class='symbol'>:string</span><span class='comma'>,</span>
<span class='label'>description:</span> <span class='symbol'>:string</span><span class='comma'>,</span>
<span class='label'>file:</span> <span class='const'>File</span>
<span class='rbrace'>}</span></pre></dd>
-
- </dl>
-
+
+ </dl>
<h2>
Instance Method Summary
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ <small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#fields-instance_method" title="#fields (instance method)">- (Hash) <strong>fields</strong>(wanted_locale = default_locale) </a>
+ <a href="#fields-instance_method" title="#fields (instance method)">#<strong>fields</strong>(wanted_locale = default_locale) ⇒ Hash </a>
</span>
@@ -178,11 +178,11 @@
<div class="method_details first">
<h3 class="signature first" id="fields-instance_method">
- - (<tt>Hash</tt>) <strong>fields</strong>(wanted_locale = default_locale)
+ #<strong>fields</strong>(wanted_locale = default_locale) ⇒ <tt>Hash</tt>
@@ -227,24 +227,25 @@
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/contentful/resource/asset_fields.rb', line 19</span>
<span class='kw'>def</span> <span class='id identifier rubyid_fields'>fields</span><span class='lparen'>(</span><span class='id identifier rubyid_wanted_locale'>wanted_locale</span> <span class='op'>=</span> <span class='id identifier rubyid_default_locale'>default_locale</span><span class='rparen'>)</span>
- <span class='ivar'>@fields</span><span class='lbracket'>[</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>||</span> <span class='id identifier rubyid_wanted_locale'>wanted_locale</span><span class='rbracket'>]</span>
+ <span class='ivar'>@fields</span><span class='lbracket'>[</span><span class='id identifier rubyid_locale'>locale</span> <span class='op'>||</span> <span class='id identifier rubyid_wanted_locale'>wanted_locale</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
- <div id="footer">
- Generated on Tue Apr 5 13:35:48 2016 by
+ <div id="footer">
+ Generated on Tue Aug 9 15:50:42 2016 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.7.6 (ruby-2.2.3).
+ 0.9.5 (ruby-2.2.3).
</div>
+ </div>
</body>
</html>
\ No newline at end of file