doc/Contentful/Location.html in contentful-1.2.2 vs doc/Contentful/Location.html in contentful-2.0.0

- old
+ new

@@ -87,16 +87,11 @@ - <dl> - <dt>Includes:</dt> - <dd><span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span></dd> - </dl> - <dl> @@ -120,34 +115,268 @@ </div> + <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2> + <ul class="summary"> + + <li class="public "> + <span class="summary_signature"> + + <a href="#lat-instance_method" title="#lat (instance method)">#<strong>lat</strong> &#x21d2; Object </a> + + + (also: #latitude) + + </span> + + + + + <span class="note title readonly">readonly</span> + + + + + + + - <h2>Instance Attribute Summary</h2> - <h3 class="inherited">Attributes included from <span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span></h3> - <p class="inherited"><span class='object_link'><a href="Resource.html#client-instance_method" title="Contentful::Resource#client (method)">#client</a></span>, <span class='object_link'><a href="Resource.html#default_locale-instance_method" title="Contentful::Resource#default_locale (method)">#default_locale</a></span>, <span class='object_link'><a href="Resource.html#properties-instance_method" title="Contentful::Resource#properties (method)">#properties</a></span>, <span class='object_link'><a href="Resource.html#raw-instance_method" title="Contentful::Resource#raw (method)">#raw</a></span>, <span class='object_link'><a href="Resource.html#request-instance_method" title="Contentful::Resource#request (method)">#request</a></span></p> + <span class="summary_desc"><div class='inline'> +<p>Returns the value of attribute lat.</p> +</div></span> + +</li> + + <li class="public "> + <span class="summary_signature"> + + <a href="#lon-instance_method" title="#lon (instance method)">#<strong>lon</strong> &#x21d2; Object </a> + + + (also: #longitude) + + </span> + + + + + <span class="note title readonly">readonly</span> + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>Returns the value of attribute lon.</p> +</div></span> +</li> + + + </ul> + + + + + <h2> + Instance Method Summary + <small><a href="#" class="summary_toggle">collapse</a></small> + </h2> + + <ul class="summary"> + + <li class="public "> + <span class="summary_signature"> + + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(json) &#x21d2; Location </a> + + + + </span> + <span class="note title constructor">constructor</span> - <h2>Method Summary</h2> - <h3 class="inherited">Methods included from <span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span></h3> - <p class="inherited"><span class='object_link'><a href="Resource.html#array%3F-instance_method" title="Contentful::Resource#array? (method)">#array?</a></span>, <span class='object_link'><a href="Resource.html#entry%3F-instance_method" title="Contentful::Resource#entry? (method)">#entry?</a></span>, <span class='object_link'><a href="Resource.html#fields-instance_method" title="Contentful::Resource#fields (method)">#fields</a></span>, <span class='object_link'><a href="Resource.html#reload-instance_method" title="Contentful::Resource#reload (method)">#reload</a></span>, <span class='object_link'><a href="Resource.html#sys-instance_method" title="Contentful::Resource#sys (method)">#sys</a></span></p> + + + + + + <span class="summary_desc"><div class='inline'> +<p>A new instance of Location.</p> +</div></span> + +</li> + + </ul> + + +<div id="constructor_details" class="method_details_list"> + <h2>Constructor Details</h2> + + <div class="method_details first"> + <h3 class="signature first" id="initialize-instance_method"> + + #<strong>initialize</strong>(json) &#x21d2; <tt><span class='object_link'><a href="" title="Contentful::Location (class)">Location</a></span></tt> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Returns a new instance of Location</p> + + + </div> </div> +<div class="tags"> + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +9 +10 +11 +12</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/contentful/location.rb', line 9</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span> + <span class='ivar'>@lat</span> <span class='op'>=</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>lat</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> + <span class='ivar'>@lon</span> <span class='op'>=</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>lon</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + +</div> + + <div id="instance_attr_details" class="attr_details"> + <h2>Instance Attribute Details</h2> + + + <span id=""></span> + <div class="method_details first"> + <h3 class="signature first" id="lat-instance_method"> + + #<strong>lat</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + + + + <span class="aliases">Also known as: + <span class="names"><span id='latitude-instance_method'>latitude</span></span> + </span> + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Returns the value of attribute lat</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +5 +6 +7</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/contentful/location.rb', line 5</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_lat'>lat</span> + <span class='ivar'>@lat</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + + <span id=""></span> + <div class="method_details "> + <h3 class="signature " id="lon-instance_method"> + + #<strong>lon</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + + + + <span class="aliases">Also known as: + <span class="names"><span id='longitude-instance_method'>longitude</span></span> + </span> + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Returns the value of attribute lon</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +5 +6 +7</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/contentful/location.rb', line 5</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_lon'>lon</span> + <span class='ivar'>@lon</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + </div> + + +</div> + <div id="footer"> - Generated on Tue Jan 3 08:37:56 2017 by + Generated on Tue Mar 21 10:40:05 2017 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.5 (ruby-2.3.1). </div> </div> \ No newline at end of file