incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r980721 [1/5] - in /incubator/deltacloud/trunk/client: doc/ doc/DeltaCloud/ doc/DeltaCloud/API/ doc/DeltaCloud/Documentation/ doc/DeltaCloud/HWP/ doc/DeltaCloud/InstanceState/ doc/DeltaCloud/PlainFormatter/ doc/DeltaCloud/PlainFormatter/For...
Date Fri, 30 Jul 2010 10:20:08 GMT
Author: mfojtik
Date: Fri Jul 30 10:20:06 2010
New Revision: 980721

URL: http://svn.apache.org/viewvc?rev=980721&view=rev
Log:
Updated client code docs

Added:
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/HardwareProfile.html
      - copied, changed from r980062, incubator/deltacloud/trunk/client/doc/DeltaCloud/Instance.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/Image.html
      - copied, changed from r980062, incubator/deltacloud/trunk/client/doc/DeltaCloud/Image.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/Instance.html
      - copied, changed from r980062, incubator/deltacloud/trunk/client/doc/DeltaCloud/Instance.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/Realm.html
      - copied, changed from r980062, incubator/deltacloud/trunk/client/doc/DeltaCloud/Realm.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/StorageSnapshot.html
      - copied, changed from r980062, incubator/deltacloud/trunk/client/doc/DeltaCloud/StorageSnapshot.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API/StorageVolume.html
      - copied, changed from r980062, incubator/deltacloud/trunk/client/doc/DeltaCloud/StorageVolume.html
    incubator/deltacloud/trunk/client/doc/deltacloud.rb
Removed:
    incubator/deltacloud/trunk/client/doc/DeltaCloud/HardwareProfile.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/Image.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/Instance.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/Realm.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/StorageSnapshot.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/StorageVolume.html
    incubator/deltacloud/trunk/client/doc/Kernel.html
Modified:
    incubator/deltacloud/trunk/client/doc/DeltaCloud.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/API.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/Documentation.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/Documentation/OperationParameter.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/HWP.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/HWP/FloatProperty.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/HWP/Property.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/InstanceState.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/InstanceState/State.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/InstanceState/Transition.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/Base.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/HardwareProfile.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/Image.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/Instance.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/Realm.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/StorageSnapshot.html
    incubator/deltacloud/trunk/client/doc/DeltaCloud/PlainFormatter/FormatObject/StorageVolume.html
    incubator/deltacloud/trunk/client/doc/String.html
    incubator/deltacloud/trunk/client/doc/_index.html
    incubator/deltacloud/trunk/client/doc/class_list.html
    incubator/deltacloud/trunk/client/doc/file.README.html
    incubator/deltacloud/trunk/client/doc/index.html
    incubator/deltacloud/trunk/client/doc/method_list.html
    incubator/deltacloud/trunk/client/doc/top-level-namespace.html
    incubator/deltacloud/trunk/client/lib/documentation.rb

Modified: incubator/deltacloud/trunk/client/doc/DeltaCloud.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/client/doc/DeltaCloud.html?rev=980721&r1=980720&r2=980721&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/doc/DeltaCloud.html (original)
+++ incubator/deltacloud/trunk/client/doc/DeltaCloud.html Fri Jul 30 10:20:06 2010
@@ -74,7 +74,7 @@
     
    
     
-      <strong class="classes">Classes:</strong> <a href="DeltaCloud/API.html" title="DeltaCloud::API (class)">API</a>, <a href="DeltaCloud/Documentation.html" title="DeltaCloud::Documentation (class)">Documentation</a>, <a href="DeltaCloud/HardwareProfile.html" title="DeltaCloud::HardwareProfile (class)">HardwareProfile</a>, <a href="DeltaCloud/Image.html" title="DeltaCloud::Image (class)">Image</a>, <a href="DeltaCloud/Instance.html" title="DeltaCloud::Instance (class)">Instance</a>, <a href="DeltaCloud/Realm.html" title="DeltaCloud::Realm (class)">Realm</a>, <a href="DeltaCloud/StorageSnapshot.html" title="DeltaCloud::StorageSnapshot (class)">StorageSnapshot</a>, <a href="DeltaCloud/StorageVolume.html" title="DeltaCloud::StorageVolume (class)">StorageVolume</a>
+      <strong class="classes">Classes:</strong> <a href="DeltaCloud/API.html" title="DeltaCloud::API (class)">API</a>, <a href="DeltaCloud/Documentation.html" title="DeltaCloud::Documentation (class)">Documentation</a>
     
   
 </p>
@@ -92,6 +92,48 @@
         <li class="public ">
   <span class="summary_signature">
     
+      <a href="#classes-class_method" title="classes (class method)">+ (Object) <strong>classes</strong> </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#define_class-class_method" title="define_class (class method)">+ (Object) <strong>define_class</strong>(name) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
       <a href="#driver_name-class_method" title="driver_name (class method)">+ (Object) <strong>driver_name</strong>(url) </a>
     
 
@@ -141,7 +183,79 @@
     
     
       <div class="method_details first">
-  <p class="signature first" id="driver_name-class_method">
+  <p class="signature first" id="classes-class_method">
+  
+    + (<tt>Object</tt>) <strong>classes</strong> 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+53
+54
+55
+56</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 53</span>
+
+<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='classes identifier id'>classes</span>
+  <span class='puts identifier id'>puts</span> <span class='dstring node'>&quot;----&gt; \n#{@defined_classes.join(',')}\n&quot;</span>
+  <span class='@defined_classes ivar id'>@defined_classes</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="define_class-class_method">
+  
+    + (<tt>Object</tt>) <strong>define_class</strong>(name) 
+  
+
+  
+</p><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+43
+44
+45
+46
+47
+48
+49
+50
+51</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 43</span>
+
+<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='rparen token'>)</span>
+  <span class='@defined_classes ivar id'>@defined_classes</span> <span class='opasgn op'>||=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
+  <span class='if if kw'>if</span> <span class='@defined_classes ivar id'>@defined_classes</span><span class='dot token'>.</span><span class='include? fid id'>include?</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='rparen token'>)</span>
+    <span class='self self kw'>self</span><span class='dot token'>.</span><span class='module_eval identifier id'>module_eval</span><span class='lparen token'>(</span><span class='dstring node'>&quot;API::#{name}&quot;</span><span class='rparen token'>)</span>
+  <span class='else else kw'>else</span>
+    <span class='@defined_classes ivar id'>@defined_classes</span> <span class='lshft op'>&lt;&lt;</span> <span class='name identifier id'>name</span> <span class='unless unless_mod kw'>unless</span> <span class='@defined_classes ivar id'>@defined_classes</span><span class='dot token'>.</span><span class='include? fid id'>include?</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='rparen token'>)</span>
+    <span class='API constant id'>API</span><span class='dot token'>.</span><span class='const_set identifier id'>const_set</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='comma token'>,</span> <span class='Class constant id'>Class</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='rparen token'>)</span>
+  <span class='end end kw'>end</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="driver_name-class_method">
   
     + (<tt>Object</tt>) <strong>driver_name</strong>(url) 
   
@@ -179,12 +293,12 @@
       <pre class="lines">
 
 
-38
 39
-40</pre>
+40
+41</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 38</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 39</span>
 
 <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='driver_name identifier id'>driver_name</span><span class='lparen token'>(</span><span class='url identifier id'>url</span><span class='rparen token'>)</span>
   <span class='API constant id'>API</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='url identifier id'>url</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='driver_name identifier id'>driver_name</span>
@@ -275,12 +389,12 @@
       <pre class="lines">
 
 
-31
 32
-33</pre>
+33
+34</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 31</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 32</span>
 
 <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='user_name identifier id'>user_name</span><span class='comma token'>,</span> <span class='password identifier id'>password</span><span class='comma token'>,</span> <span class='api_url identifier id'>api_url</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
   <span class='API constant id'>API</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='user_name identifier id'>user_name</span><span class='comma token'>,</span> <span class='password identifier id'>password</span><span class='comma token'>,</span> <span class='api_url identifier id'>api_url</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
@@ -296,7 +410,7 @@
 </div>
     
     <div id="footer">
-  Generated on Mon Jun 28 11:12:53 2010 by 
+  Generated on Fri Jul 30 12:16:31 2010 by 
   <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
   0.5.6 (ruby-1.8.7).
 </div>

Modified: incubator/deltacloud/trunk/client/doc/DeltaCloud/API.html
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/client/doc/DeltaCloud/API.html?rev=980721&r1=980720&r2=980721&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/doc/DeltaCloud/API.html (original)
+++ incubator/deltacloud/trunk/client/doc/DeltaCloud/API.html Fri Jul 30 10:20:06 2010
@@ -81,6 +81,16 @@
 </dl>
 <div class="clear"></div>
 
+<h2>Defined Under Namespace</h2>
+<p class="children">
+   
+    
+   
+    
+      <strong class="classes">Classes:</strong> <a href="API/HardwareProfile.html" title="DeltaCloud::API::HardwareProfile (class)">HardwareProfile</a>, <a href="API/Image.html" title="DeltaCloud::API::Image (class)">Image</a>, <a href="API/Instance.html" title="DeltaCloud::API::Instance (class)">Instance</a>, <a href="API/Realm.html" title="DeltaCloud::API::Realm (class)">Realm</a>, <a href="API/StorageSnapshot.html" title="DeltaCloud::API::StorageSnapshot (class)">StorageSnapshot</a>, <a href="API/StorageVolume.html" title="DeltaCloud::API::StorageVolume (class)">StorageVolume</a>
+    
+  
+</p>
 
 
   <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
@@ -137,30 +147,6 @@
       <li class="public ">
   <span class="summary_signature">
     
-      <a href="#classes-instance_method" title="#classes (instance method)">- (Object) <strong>classes</strong> </a>
-    
-
-    
-  </span>
-  
-  
-    <span class="note title readonly">readonly</span>
-    
-  
-  
-  
-  
-  
-
-  
-    <span class="summary_desc"><div class='inline'><p>Returns the value of attribute classes.</p></div></span>
-  
-</li>
-
-    
-      <li class="public ">
-  <span class="summary_signature">
-    
       <a href="#driver_name-instance_method" title="#driver_name (instance method)">- (Object) <strong>driver_name</strong> </a>
     
 
@@ -520,6 +506,48 @@
         <li class="public ">
   <span class="summary_signature">
     
+      <a href="#hardware_profile-instance_method" title="#hardware_profile (instance method)">- (HardwareProfile) <strong>hardware_profile</strong> </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>A hardware profile represents a configuration of resources upon which a.</p></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
+      <a href="#hardware_profiles-instance_method" title="#hardware_profiles (instance method)">- (Array) <strong>hardware_profiles</strong>(opts = {}) </a>
+    
+
+    
+  </span>
+  
+  
+  
+  
+  
+  
+
+  
+    <span class="summary_desc"><div class='inline'><p>Return collection of HardwareProfile objects.</p></div></span>
+  
+</li>
+
+      
+        <li class="public ">
+  <span class="summary_signature">
+    
       <a href="#image-instance_method" title="#image (instance method)">- (Image) <strong>image</strong> </a>
     
 
@@ -533,7 +561,7 @@
   
 
   
-    <span class="summary_desc"><div class='inline'><p><em>An image is a platonic form of a machine.</em></p></div></span>
+    <span class="summary_desc"><div class='inline'><p>An image is a platonic form of a machine.</p></div></span>
   
 </li>
 
@@ -598,7 +626,7 @@
   
 
   
-    <span class="summary_desc"><div class='inline'><p><em>An instance is a concrete machine realized from an image.</em></p></div></span>
+    <span class="summary_desc"><div class='inline'><p>An instance is a concrete machine realized from an image.</p></div></span>
   
 </li>
 
@@ -619,7 +647,7 @@
   
 
   
-    <span class="summary_desc"><div class='inline'><p><em>The possible states of an instance, and how to traverse between them</em>.</p></div></span>
+    <span class="summary_desc"><div class='inline'><p>The possible states of an instance, and how to traverse between them.</p></div></span>
   
 </li>
 
@@ -682,7 +710,7 @@
   
 
   
-    <span class="summary_desc"><div class='inline'><p><em>Within a cloud provider a realm represents a boundary containing resources.</em></p></div></span>
+    <span class="summary_desc"><div class='inline'><p>Within a cloud provider a realm represents a boundary containing resources.</p></div></span>
   
 </li>
 
@@ -745,7 +773,7 @@
   
 
   
-    <span class="summary_desc"><div class='inline'><p><em>Storage snapshots description here</em>.</p></div></span>
+    <span class="summary_desc"><div class='inline'><p>Storage snapshots description here.</p></div></span>
   
 </li>
 
@@ -787,7 +815,7 @@
   
 
   
-    <span class="summary_desc"><div class='inline'><p><em>Storage volumes description here</em>.</p></div></span>
+    <span class="summary_desc"><div class='inline'><p>Storage volumes description here.</p></div></span>
   
 </li>
 
@@ -892,26 +920,26 @@
       <pre class="lines">
 
 
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56</pre>
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 47</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 62</span>
 
 <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='user_name identifier id'>user_name</span><span class='comma token'>,</span> <span class='password identifier id'>password</span><span class='comma token'>,</span> <span class='api_url identifier id'>api_url</span><span class='comma token'>,</span> <span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
+  <span class='opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:version</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='true true kw'>true</span>
   <span class='@logger ivar id'>@logger</span> <span class='assign token'>=</span> <span class='opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:verbose</span><span class='rbrack token'>]</span> <span class='question op'>?</span> <span class='Logger constant id'>Logger</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='STDERR constant id'>STDERR</span><span class='rparen token'>)</span> <span class='colon op'>:</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
   <span class='@username ivar id'>@username</span><span class='comma token'>,</span> <span class='@password ivar id'>@password</span> <span class='assign token'>=</span> <span class='user_name identifier id'>user_name</span><span class='comma token'>,</span> <span class='password identifier id'>password</span>
   <span class='@api_uri ivar id'>@api_uri</span> <span class='assign token'>=</span> <span class='URI constant id'>URI</span><span class='dot token'>.</span><span class='parse identifier id'>parse</span><span class='lparen token'>(</span><span class='api_url identifier id'>api_url</span><span class='rparen token'>)</span>
   <span class='@features ivar id'>@features</span><span class='comma token'>,</span> <span class='@entry_points ivar id'>@entry_points</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
-  <span class='@classes ivar id'>@classes</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
   <span class='@verbose ivar id'>@verbose</span> <span class='assign token'>=</span> <span class='opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:verbose</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='false false kw'>false</span>
   <span class='discover_entry_points identifier id'>discover_entry_points</span>
   <span class='yield yield kw'>yield</span> <span class='self self kw'>self</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
@@ -951,12 +979,12 @@
       <pre class="lines">
 
 
-44
-45
-46</pre>
+60
+61
+62</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 44</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 60</span>
 
 <span class='def def kw'>def</span> <span class='api_uri identifier id'>api_uri</span>
   <span class='@api_uri ivar id'>@api_uri</span>
@@ -991,12 +1019,12 @@
       <pre class="lines">
 
 
-44
-45
-46</pre>
+60
+61
+62</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 44</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 60</span>
 
 <span class='def def kw'>def</span> <span class='api_version identifier id'>api_version</span>
   <span class='@api_version ivar id'>@api_version</span>
@@ -1009,46 +1037,6 @@
     
       
       <span id=""></span>
-      <span id="classes-instance_method"></span>
-      <div class="method_details ">
-  <p class="signature " id="classes-instance_method">
-  
-    - (<tt>Object</tt>) <strong>classes</strong>  <span class="extras">(readonly)</span>
-  
-
-  
-</p><div class="docstring">
-  <div class="discussion">
-    <p>Returns the value of attribute classes</p>
-
-  </div>
-</div>
-<div class="tags">
-  
-</div><table class="source_code">
-  <tr>
-    <td>
-      <pre class="lines">
-
-
-45
-46
-47</pre>
-    </td>
-    <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 45</span>
-
-<span class='def def kw'>def</span> <span class='classes identifier id'>classes</span>
-  <span class='@classes ivar id'>@classes</span>
-<span class='end end kw'>end</span>
-</pre>
-    </td>
-  </tr>
-</table>
-</div>
-    
-      
-      <span id=""></span>
       <span id="driver_name-instance_method"></span>
       <div class="method_details ">
   <p class="signature " id="driver_name-instance_method">
@@ -1071,12 +1059,12 @@
       <pre class="lines">
 
 
-44
-45
-46</pre>
+60
+61
+62</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 44</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 60</span>
 
 <span class='def def kw'>def</span> <span class='driver_name identifier id'>driver_name</span>
   <span class='@driver_name ivar id'>@driver_name</span>
@@ -1111,12 +1099,12 @@
       <pre class="lines">
 
 
-44
-45
-46</pre>
+60
+61
+62</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 44</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 60</span>
 
 <span class='def def kw'>def</span> <span class='entry_points identifier id'>entry_points</span>
   <span class='@entry_points ivar id'>@entry_points</span>
@@ -1151,12 +1139,12 @@
       <pre class="lines">
 
 
-44
-45
-46</pre>
+60
+61
+62</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 44</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 60</span>
 
 <span class='def def kw'>def</span> <span class='features identifier id'>features</span>
   <span class='@features ivar id'>@features</span>
@@ -1191,12 +1179,12 @@
       <pre class="lines">
 
 
-43
-44
-45</pre>
+59
+60
+61</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 43</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 59</span>
 
 <span class='def def kw'>def</span> <span class='logger identifier id'>logger</span>
   <span class='@logger ivar id'>@logger</span>
@@ -1235,10 +1223,10 @@
       <pre class="lines">
 
 
-63</pre>
+78</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 63</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 78</span>
 
 <span class='def def kw'>def</span> <span class='api_host identifier id'>api_host</span><span class='semicolon token'>;</span> <span class='@api_uri ivar id'>@api_uri</span><span class='dot token'>.</span><span class='host identifier id'>host</span>  <span class='end end kw'>end</span>
 </pre>
@@ -1268,10 +1256,10 @@
       <pre class="lines">
 
 
-69</pre>
+84</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 69</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 84</span>
 
 <span class='def def kw'>def</span> <span class='api_path identifier id'>api_path</span><span class='semicolon token'>;</span> <span class='@api_uri ivar id'>@api_uri</span><span class='dot token'>.</span><span class='path identifier id'>path</span>  <span class='end end kw'>end</span>
 </pre>
@@ -1301,10 +1289,10 @@
       <pre class="lines">
 
 
-66</pre>
+81</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 66</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 81</span>
 
 <span class='def def kw'>def</span> <span class='api_port identifier id'>api_port</span><span class='semicolon token'>;</span> <span class='@api_uri ivar id'>@api_uri</span><span class='dot token'>.</span><span class='port identifier id'>port</span>  <span class='end end kw'>end</span>
 </pre>
@@ -1334,20 +1322,20 @@
       <pre class="lines">
 
 
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126</pre>
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 116</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 131</span>
 
 <span class='def def kw'>def</span> <span class='base_object identifier id'>base_object</span><span class='lparen token'>(</span><span class='c identifier id'>c</span><span class='comma token'>,</span> <span class='model identifier id'>model</span><span class='comma token'>,</span> <span class='response identifier id'>response</span><span class='rparen token'>)</span>
   <span class='obj identifier id'>obj</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
@@ -1379,20 +1367,20 @@
       <pre class="lines">
 
 
-103
-104
-105
-106
-107
-108
-109
-110
-111
-112
-113</pre>
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 103</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 118</span>
 
 <span class='def def kw'>def</span> <span class='base_object_collection identifier id'>base_object_collection</span><span class='lparen token'>(</span><span class='c identifier id'>c</span><span class='comma token'>,</span> <span class='model identifier id'>model</span><span class='comma token'>,</span> <span class='response identifier id'>response</span><span class='rparen token'>)</span>
   <span class='collection identifier id'>collection</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
@@ -1463,12 +1451,12 @@
       <pre class="lines">
 
 
-58
-59
-60</pre>
+73
+74
+75</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 58</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 73</span>
 
 <span class='def def kw'>def</span> <span class='connect identifier id'>connect</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
   <span class='yield yield kw'>yield</span> <span class='self self kw'>self</span>
@@ -1502,20 +1490,6 @@
       <pre class="lines">
 
 
-241
-242
-243
-244
-245
-246
-247
-248
-249
-250
-251
-252
-253
-254
 255
 256
 257
@@ -1530,10 +1504,24 @@
 266
 267
 268
-269</pre>
+269
+270
+271
+272
+273
+274
+275
+276
+277
+278
+279
+280
+281
+282
+283</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 241</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 255</span>
 
 <span class='def def kw'>def</span> <span class='create_instance identifier id'>create_instance</span><span class='lparen token'>(</span><span class='image_id identifier id'>image_id</span><span class='comma token'>,</span> <span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
   <span class='name identifier id'>name</span> <span class='assign token'>=</span> <span class='opts identifier id'>opts</span><span class='lbrack token'>[</span><span class='symbol val'>:name</span><span class='rbrack token'>]</span>
@@ -1557,7 +1545,7 @@
   <span class='instance identifier id'>instance</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
 
   <span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='symbol val'>:post</span><span class='comma token'>,</span> <span class='entry_points identifier id'>entry_points</span><span class='lbrack token'>[</span><span class='symbol val'>:instances</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='params identifier id'>params</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='bitor op'>|</span>
-    <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='Kernel constant id'>Kernel</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='string val'>&quot;Instance&quot;</span><span class='rparen token'>)</span>
+    <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='DeltaCloud constant id'>DeltaCloud</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='string val'>&quot;Instance&quot;</span><span class='rparen token'>)</span>
     <span class='instance identifier id'>instance</span> <span class='assign token'>=</span> <span class='base_object identifier id'>base_object</span><span class='lparen token'>(</span><span class='c identifier id'>c</span><span class='comma token'>,</span> <span class='symbol val'>:instance</span><span class='comma token'>,</span> <span class='response identifier id'>response</span><span class='rparen token'>)</span>
     <span class='yield yield kw'>yield</span> <span class='instance identifier id'>instance</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
   <span class='end end kw'>end</span>
@@ -1591,21 +1579,6 @@
       <pre class="lines">
 
 
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
 88
 89
 90
@@ -1619,10 +1592,25 @@
 98
 99
 100
-101</pre>
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 73</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 88</span>
 
 <span class='def def kw'>def</span> <span class='declare_entry_points_methods identifier id'>declare_entry_points_methods</span><span class='lparen token'>(</span><span class='entry_points identifier id'>entry_points</span><span class='rparen token'>)</span>
   <span class='logger identifier id'>logger</span> <span class='assign token'>=</span> <span class='@logger ivar id'>@logger</span>
@@ -1631,7 +1619,7 @@
       <span class='define_method identifier id'>define_method</span> <span class='model identifier id'>model</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='mult op'>*</span><span class='args identifier id'>args</span><span class='bitor op'>|</span>
         <span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='symbol val'>:get</span><span class='comma token'>,</span> <span class='dstring node'>&quot;/#{model}&quot;</span><span class='comma token'>,</span> <span class='args identifier id'>args</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='bitor op'>|</span>
           <span class='comment val'># Define a new class based on model name</span>
-          <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='Kernel constant id'>Kernel</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#{model.to_s.classify}&quot;</span><span class='rparen token'>)</span>
+          <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='DeltaCloud constant id'>DeltaCloud</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#{model.to_s.classify}&quot;</span><span class='rparen token'>)</span>
           <span class='comment val'># Create collection from index operation</span>
           <span class='base_object_collection identifier id'>base_object_collection</span><span class='lparen token'>(</span><span class='c identifier id'>c</span><span class='comma token'>,</span> <span class='model identifier id'>model</span><span class='comma token'>,</span> <span class='response identifier id'>response</span><span class='rparen token'>)</span>
         <span class='end end kw'>end</span>
@@ -1640,7 +1628,7 @@
       <span class='define_method identifier id'>define_method</span> <span class='symbol val'>:&quot;#{model.to_s.singularize}&quot;</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='mult op'>*</span><span class='args identifier id'>args</span><span class='bitor op'>|</span>
         <span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='symbol val'>:get</span><span class='comma token'>,</span> <span class='dstring node'>&quot;/#{model}/#{args[0]}&quot;</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='bitor op'>|</span>
           <span class='comment val'># Define a new class based on model name</span>
-          <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='Kernel constant id'>Kernel</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#{model.to_s.classify}&quot;</span><span class='rparen token'>)</span>
+          <span class='c identifier id'>c</span> <span class='assign token'>=</span> <span class='DeltaCloud constant id'>DeltaCloud</span><span class='dot token'>.</span><span class='define_class identifier id'>define_class</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#{model.to_s.classify}&quot;</span><span class='rparen token'>)</span>
           <span class='comment val'># Build class for returned object</span>
           <span class='base_object identifier id'>base_object</span><span class='lparen token'>(</span><span class='c identifier id'>c</span><span class='comma token'>,</span> <span class='model identifier id'>model</span><span class='comma token'>,</span> <span class='response identifier id'>response</span><span class='rparen token'>)</span>
         <span class='end end kw'>end</span>
@@ -1680,30 +1668,30 @@
       <pre class="lines">
 
 
-209
-210
-211
-212
-213
-214
-215
-216
-217
-218
-219
-220
-221
-222
 223
 224
 225
 226
 227
 228
-229</pre>
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 209</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 223</span>
 
 <span class='def def kw'>def</span> <span class='discover_entry_points identifier id'>discover_entry_points</span>
   <span class='return return kw'>return</span> <span class='if if_mod kw'>if</span> <span class='discovered? fid id'>discovered?</span>
@@ -1766,12 +1754,12 @@
       <pre class="lines">
 
 
-324
-325
-326</pre>
+346
+347
+348</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 324</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 346</span>
 
 <span class='def def kw'>def</span> <span class='discovered? fid id'>discovered?</span>
   <span class='true true kw'>true</span> <span class='if if_mod kw'>if</span> <span class='@entry_points! ivar id'>@entry_points!</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span>
@@ -1795,30 +1783,30 @@
       <pre class="lines">
 
 
-328
-329
-330
-331
-332
-333
-334
-335
-336
-337
-338
-339
-340
-341
-342
-343
-344
-345
-346
-347
-348</pre>
+350
+351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
+364
+365
+366
+367
+368
+369
+370</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 328</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 350</span>
 
 <span class='def def kw'>def</span> <span class='documentation identifier id'>documentation</span><span class='lparen token'>(</span><span class='collection identifier id'>collection</span><span class='comma token'>,</span> <span class='operation identifier id'>operation</span><span class='assign token'>=</span><span class='nil nil kw'>nil</span><span class='rparen token'>)</span>
   <span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
@@ -1881,12 +1869,12 @@
       <pre class="lines">
 
 
-296
-297
-298</pre>
+318
+319
+320</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 296</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 318</span>
 
 <span class='def def kw'>def</span> <span class='feature? fid id'>feature?</span><span class='lparen token'>(</span><span class='collection identifier id'>collection</span><span class='comma token'>,</span> <span class='name identifier id'>name</span><span class='rparen token'>)</span>
   <span class='@feature ivar id'>@feature</span><span class='dot token'>.</span><span class='has_key? fid id'>has_key?</span><span class='lparen token'>(</span><span class='collection identifier id'>collection</span><span class='rparen token'>)</span> <span class='andop op'>&amp;&amp;</span> <span class='@feature ivar id'>@feature</span><span class='lbrack token'>[</span><span class='collection identifier id'>collection</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='rparen token'>)</span>
@@ -1898,15 +1886,146 @@
 </div>
     
       <div class="method_details ">
+  <p class="signature " id="hardware_profile-instance_method">
+  
+    - (<tt><a href="API/HardwareProfile.html" title="DeltaCloud::API::HardwareProfile (class)">HardwareProfile</a></tt>) <strong>hardware_profile</strong> 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>A hardware profile represents a configuration of resources upon which a machine may be deployed. It defines aspects such as local disk storage, available RAM, and architecture. Each provider is free to define as many (or as few) hardware profiles as desired.</p>
+
+  </div>
+</div>
+<div class="tags">
+  <h3>Returns:</h3>
+<ul class="return">
+  
+    <li>
+      
+        <span class='type'>(<tt><a href="API/HardwareProfile.html" title="DeltaCloud::API::HardwareProfile (class)">HardwareProfile</a></tt>)</span>
+      
+      
+      
+      
+    </li>
+  
+</ul>
+
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+61
+62</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 61</span>
+
+<span class='def def kw'>def</span> <span class='hardware_profile identifier id'>hardware_profile</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
+  <p class="signature " id="hardware_profiles-instance_method">
+  
+    - (<tt>Array</tt>) <strong>hardware_profiles</strong>(opts = {}) 
+  
+
+  
+</p><div class="docstring">
+  <div class="discussion">
+    <p>Return collection of HardwareProfile objects</p>
+
+<pre class="code">   <span class='A constant id'>A</span> <span class='hardware identifier id'>hardware</span> <span class='profile identifier id'>profile</span> <span class='represents identifier id'>represents</span> <span class='a identifier id'>a</span> <span class='configuration identifier id'>configuration</span> <span class='of identifier id'>of</span> <span class='resources identifier id'>resources</span> <span class='upon identifier id'>upon</span> <span class='which identifier id'>which</span> <span class='a identifier id'>a</span>
+   <span class='machine identifier id'>machine</span> <span class='may identifier id'>may</span> <span class='be identifier id'>be</span> <span class='deployed identifier id'>deployed</span><span class='dot token'>.</span> <span class='It constant id'>It</span> <span class='defines identifier id'>defines</span> <span class='aspects identifier id'>aspects</span> <span class='such identifier id'>such</span> <span class='as identifier id'>as</span> <span class='local identifier id'>local</span> <span class='disk identifier id'>disk</span> <span class='storage identifier id'>storage</span><span class='comma token'>,</span>
+   <span class='available identifier id'>available</span> <span class='RAM constant id'>RAM</span><span class='comma token'>,</span> <span class='and and kw'>and</span> <span class='architecture identifier id'>architecture</span><span class='dot token'>.</span> <span class='Each constant id'>Each</span> <span class='provider identifier id'>provider</span> <span class='is identifier id'>is</span> <span class='free identifier id'>free</span> <span class='to identifier id'>to</span> <span class='define identifier id'>define</span> <span class='as identifier id'>as</span> <span class='many identifier id'>many</span>
+   <span class='lparen token'>(</span><span class='or or kw'>or</span> <span class='as identifier id'>as</span> <span class='few identifier id'>few</span><span class='rparen token'>)</span> <span class='hardware identifier id'>hardware</span> <span class='profiles identifier id'>profiles</span> <span class='as identifier id'>as</span> <span class='desired identifier id'>desired</span><span class='dot token'>.</span>
+</pre>
+
+  </div>
+</div>
+<div class="tags">
+  <h3>Parameters:</h3>
+<ul class="param">
+  
+    <li>
+      
+        <span class='type'>(<tt>string</tt>, <tt>architecture</tt>)</span>
+      
+      
+        <span class='name'></span>
+      
+      
+      
+    </li>
+  
+    <li>
+      
+        <span class='type'>(<tt>string</tt>, <tt>id</tt>)</span>
+      
+      
+        <span class='name'></span>
+      
+      
+      
+    </li>
+  
+</ul>
+<h3>Returns:</h3>
+<ul class="return">
+  
+    <li>
+      
+        <span class='type'>(<tt>Array</tt>)</span>
+      
+      
+      
+      
+        &mdash;
+        <div class='inline'><p><span>HardwareProfile</span></p></div>
+      
+    </li>
+  
+</ul>
+
+</div><table class="source_code">
+  <tr>
+    <td>
+      <pre class="lines">
+
+
+74
+75</pre>
+    </td>
+    <td>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 74</span>
+
+<span class='def def kw'>def</span> <span class='hardware_profiles identifier id'>hardware_profiles</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+    </td>
+  </tr>
+</table>
+</div>
+    
+      <div class="method_details ">
   <p class="signature " id="image-instance_method">
   
-    - (<tt><a href="Image.html" title="DeltaCloud::Image (class)">Image</a></tt>) <strong>image</strong> 
+    - (<tt><a href="API/Image.html" title="DeltaCloud::API::Image (class)">Image</a></tt>) <strong>image</strong> 
   
 
   
 </p><div class="docstring">
   <div class="discussion">
-    <p><em>An image is a platonic form of a machine. Images are not directly executable, but are a template for creating actual instances of machines.</em></p>
+    <p>An image is a platonic form of a machine. Images are not directly executable, but are a template for creating actual instances of machines.&#8221;</p>
 
   </div>
 </div>
@@ -1916,7 +2035,7 @@
   
     <li>
       
-        <span class='type'>(<tt><a href="Image.html" title="DeltaCloud::Image (class)">Image</a></tt>)</span>
+        <span class='type'>(<tt><a href="API/Image.html" title="DeltaCloud::API::Image (class)">Image</a></tt>)</span>
       
       
       
@@ -1931,11 +2050,11 @@
       <pre class="lines">
 
 
-104
-105</pre>
+98
+99</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 104</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 98</span>
 
 <span class='def def kw'>def</span> <span class='image identifier id'>image</span>
 <span class='end end kw'>end</span>
@@ -1956,7 +2075,9 @@
   <div class="discussion">
     <p>Return collection of Image objects</p>
 
-<p><em>An image is a platonic form of a machine. Images are not directly executable, but are a template for creating actual instances of machines.</em></p>
+<pre class="code">    <span class='An constant id'>An</span> <span class='image identifier id'>image</span> <span class='is identifier id'>is</span> <span class='a identifier id'>a</span> <span class='platonic identifier id'>platonic</span> <span class='form identifier id'>form</span> <span class='of identifier id'>of</span> <span class='a identifier id'>a</span> <span class='machine identifier id'>machine</span><span class='dot token'>.</span> <span class='Images constant id'>Images</span> <span class='are identifier id'>are</span> <span class='not not kw'>not</span> <span class='directly identifier id'>directly</span> <span class='executable identifier id'>executable</span><span class='comma token'>,</span>
+    <span class='but identifier id'>but</span> <span class='are identifier id'>are</span> <span class='a identifier id'>a</span> <span class='template identifier id'>template</span> <span class='for for kw'>for</span> <span class='creating identifier id'>creating</span> <span class='actual identifier id'>actual</span> <span class='instances identifier id'>instances</span> <span class='of identifier id'>of</span> <span class='machines identifier id'>machines</span><span class='dot token'>.</span><span class='string val'>&quot;
+</span></pre>
 
   </div>
 </div>
@@ -1966,7 +2087,7 @@
   
     <li>
       
-        <span class='type'>(<tt>string</tt>, <tt>owner_id</tt>)</span>
+        <span class='type'>(<tt>string</tt>, <tt>architecture</tt>)</span>
       
       
         <span class='name'></span>
@@ -1977,7 +2098,7 @@
   
     <li>
       
-        <span class='type'>(<tt>string</tt>, <tt>id</tt>)</span>
+        <span class='type'>(<tt>string</tt>, <tt>owner_id</tt>)</span>
       
       
         <span class='name'></span>
@@ -1988,7 +2109,7 @@
   
     <li>
       
-        <span class='type'>(<tt>string</tt>, <tt>architecture</tt>)</span>
+        <span class='type'>(<tt>string</tt>, <tt>id</tt>)</span>
       
       
         <span class='name'></span>
@@ -2021,11 +2142,11 @@
       <pre class="lines">
 
 
-113
-114</pre>
+110
+111</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 113</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 110</span>
 
 <span class='def def kw'>def</span> <span class='images identifier id'>images</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
 <span class='end end kw'>end</span>
@@ -2038,13 +2159,13 @@
       <div class="method_details ">
   <p class="signature " id="instance-instance_method">
   
-    - (<tt><a href="Instance.html" title="DeltaCloud::Instance (class)">Instance</a></tt>) <strong>instance</strong> 
+    - (<tt><a href="API/Instance.html" title="DeltaCloud::API::Instance (class)">Instance</a></tt>) <strong>instance</strong> 
   
 
   
 </p><div class="docstring">
   <div class="discussion">
-    <p><em>An instance is a concrete machine realized from an image. The images collection may be obtained by following the link from the primary entry-point.</em></p>
+    <p>An instance is a concrete machine realized from an image. The images collection may be obtained by following the link from the primary entry-point.&#8221;</p>
 
   </div>
 </div>
@@ -2054,7 +2175,7 @@
   
     <li>
       
-        <span class='type'>(<tt><a href="Instance.html" title="DeltaCloud::Instance (class)">Instance</a></tt>)</span>
+        <span class='type'>(<tt><a href="API/Instance.html" title="DeltaCloud::API::Instance (class)">Instance</a></tt>)</span>
       
       
       
@@ -2069,11 +2190,11 @@
       <pre class="lines">
 
 
-89
-90</pre>
+38
+39</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 89</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 38</span>
 
 <span class='def def kw'>def</span> <span class='instance identifier id'>instance</span>
 <span class='end end kw'>end</span>
@@ -2092,7 +2213,7 @@
   
 </p><div class="docstring">
   <div class="discussion">
-    <p><em>The possible states of an instance, and how to traverse between them</em></p>
+    <p>The possible states of an instance, and how to traverse between them</p>
 
   </div>
 </div>
@@ -2117,11 +2238,11 @@
       <pre class="lines">
 
 
-319
-320</pre>
+341
+342</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 319</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 341</span>
 
 <span class='def def kw'>def</span> <span class='instance_state identifier id'>instance_state</span>
 <span class='end end kw'>end</span>
@@ -2142,7 +2263,7 @@
   <div class="discussion">
     <p>Return collection of InstanceState objects</p>
 
-<p><em>The possible states of an instance, and how to traverse between them</em></p>
+<p>The possible states of an instance, and how to traverse between them</p>
 
   </div>
 </div>
@@ -2170,11 +2291,11 @@
       <pre class="lines">
 
 
-301
-302</pre>
+323
+324</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 301</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 323</span>
 
 <span class='def def kw'>def</span> <span class='instance_states identifier id'>instance_states</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
 <span class='end end kw'>end</span>
@@ -2195,7 +2316,9 @@
   <div class="discussion">
     <p>Return collection of Instance objects</p>
 
-<p><em>An instance is a concrete machine realized from an image. The images collection may be obtained by following the link from the primary entry-point.</em></p>
+<pre class="code">    <span class='An constant id'>An</span> <span class='instance identifier id'>instance</span> <span class='is identifier id'>is</span> <span class='a identifier id'>a</span> <span class='concrete identifier id'>concrete</span> <span class='machine identifier id'>machine</span> <span class='realized identifier id'>realized</span> <span class='from identifier id'>from</span> <span class='an identifier id'>an</span> <span class='image identifier id'>image</span><span class='dot token'>.</span>
+    <span class='The constant id'>The</span> <span class='images identifier id'>images</span> <span class='collection identifier id'>collection</span> <span class='may identifier id'>may</span> <span class='be identifier id'>be</span> <span class='obtained identifier id'>obtained</span> <span class='by identifier id'>by</span> <span class='following identifier id'>following</span> <span class='the identifier id'>the</span> <span class='link identifier id'>link</span> <span class='from identifier id'>from</span> <span class='the identifier id'>the</span> <span class='primary identifier id'>primary</span> <span class='entry identifier id'>entry</span><span class='minus op'>-</span><span class='point identifier id'>point</span><span class='dot token'>.</span><span class='string val'>&quot;
+</span></pre>
 
   </div>
 </div>
@@ -2249,11 +2372,11 @@
       <pre class="lines">
 
 
-97
-98</pre>
+49
+50</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 97</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 49</span>
 
 <span class='def def kw'>def</span> <span class='instances identifier id'>instances</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
 <span class='end end kw'>end</span>
@@ -2266,13 +2389,13 @@
       <div class="method_details ">
   <p class="signature " id="realm-instance_method">
   
-    - (<tt><a href="Realm.html" title="DeltaCloud::Realm (class)">Realm</a></tt>) <strong>realm</strong> 
+    - (<tt><a href="API/Realm.html" title="DeltaCloud::API::Realm (class)">Realm</a></tt>) <strong>realm</strong> 
   
 
   
 </p><div class="docstring">
   <div class="discussion">
-    <p><em>Within a cloud provider a realm represents a boundary containing resources. The exact definition of a realm is left to the cloud provider. In some cases, a realm may represent different datacenters, different continents, or different pools of resources within a single datacenter. A cloud provider may insist that resources must all exist within a single realm in order to cooperate. For instance, storage volumes may only be allowed to be mounted to instances within the same realm.</em></p>
+    <p>Within a cloud provider a realm represents a boundary containing resources. The exact definition of a realm is left to the cloud provider. In some cases, a realm may represent different datacenters, different continents, or different pools of resources within a single datacenter. A cloud provider may insist that resources must all exist within a single realm in order to cooperate. For instance, storage volumes may only be allowed to be mounted to instances within the same realm.</p>
 
   </div>
 </div>
@@ -2282,7 +2405,7 @@
   
     <li>
       
-        <span class='type'>(<tt><a href="Realm.html" title="DeltaCloud::Realm (class)">Realm</a></tt>)</span>
+        <span class='type'>(<tt><a href="API/Realm.html" title="DeltaCloud::API::Realm (class)">Realm</a></tt>)</span>
       
       
       
@@ -2297,11 +2420,11 @@
       <pre class="lines">
 
 
-49
-50</pre>
+125
+126</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 49</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 125</span>
 
 <span class='def def kw'>def</span> <span class='realm identifier id'>realm</span>
 <span class='end end kw'>end</span>
@@ -2322,7 +2445,14 @@
   <div class="discussion">
     <p>Return collection of Realm objects</p>
 
-<p><em>Within a cloud provider a realm represents a boundary containing resources. The exact definition of a realm is left to the cloud provider. In some cases, a realm may represent different datacenters, different continents, or different pools of resources within a single datacenter. A cloud provider may insist that resources must all exist within a single realm in order to cooperate. For instance, storage volumes may only be allowed to be mounted to instances within the same realm.</em></p>
+<pre class="code">    <span class='Within constant id'>Within</span> <span class='a identifier id'>a</span> <span class='cloud identifier id'>cloud</span> <span class='provider identifier id'>provider</span> <span class='a identifier id'>a</span> <span class='realm identifier id'>realm</span> <span class='represents identifier id'>represents</span> <span class='a identifier id'>a</span> <span class='boundary identifier id'>boundary</span> <span class='containing identifier id'>containing</span> <span class='resources identifier id'>resources</span><span class='dot token'>.</span>
+    <span class='The constant id'>The</span> <span class='exact identifier id'>exact</span> <span class='definition identifier id'>definition</span> <span class='of identifier id'>of</span> <span class='a identifier id'>a</span> <span class='realm identifier id'>realm</span> <span class='is identifier id'>is</span> <span class='left identifier id'>left</span> <span class='to identifier id'>to</span> <span class='the identifier id'>the</span> <span class='cloud identifier id'>cloud</span> <span class='provider identifier id'>provider</span><span class='dot token'>.</span>
+    <span class='In constant id'>In</span> <span class='some identifier id'>some</span> <span class='cases identifier id'>cases</span><span class='comma token'>,</span> <span class='a identifier id'>a</span> <span class='realm identifier id'>realm</span> <span class='may identifier id'>may</span> <span class='represent identifier id'>represent</span> <span class='different identifier id'>different</span> <span class='datacenters identifier id'>datacenters</span><span class='comma token'>,</span> <span class='different identifier id'>different</span> <span class='continents identifier id'>continents</span><span class='comma token'>,</span>
+    <span class='or or kw'>or</span> <span class='different identifier id'>different</span> <span class='pools identifier id'>pools</span> <span class='of identifier id'>of</span> <span class='resources identifier id'>resources</span> <span class='within identifier id'>within</span> <span class='a identifier id'>a</span> <span class='single identifier id'>single</span> <span class='datacenter identifier id'>datacenter</span><span class='dot token'>.</span>
+    <span class='A constant id'>A</span> <span class='cloud identifier id'>cloud</span> <span class='provider identifier id'>provider</span> <span class='may identifier id'>may</span> <span class='insist identifier id'>insist</span> <span class='that identifier id'>that</span> <span class='resources identifier id'>resources</span> <span class='must identifier id'>must</span> <span class='all identifier id'>all</span> <span class='exist identifier id'>exist</span> <span class='within identifier id'>within</span> <span class='a identifier id'>a</span> <span class='single identifier id'>single</span> <span class='realm identifier id'>realm</span> <span class='in in kw'>in</span>
+    <span class='order identifier id'>order</span> <span class='to identifier id'>to</span> <span class='cooperate identifier id'>cooperate</span><span class='dot token'>.</span> <span class='For constant id'>For</span> <span class='instance identifier id'>instance</span><span class='comma token'>,</span> <span class='storage identifier id'>storage</span> <span class='volumes identifier id'>volumes</span> <span class='may identifier id'>may</span> <span class='only identifier id'>only</span> <span class='be identifier id'>be</span> <span class='allowed identifier id'>allowed</span> <span class='to identifier id'>to</span> <span class='be identifier id'>be</span> <span class='mounted identifier id'>mounted</span> <span class='to identifier id'>to</span>
+    <span class='instances identifier id'>instances</span> <span class='within identifier id'>within</span> <span class='the identifier id'>the</span> <span class='same identifier id'>same</span> <span class='realm identifier id'>realm</span><span class='dot token'>.</span>
+</pre>
 
   </div>
 </div>
@@ -2332,7 +2462,7 @@
   
     <li>
       
-        <span class='type'>(<tt>string</tt>, <tt>id</tt>)</span>
+        <span class='type'>(<tt>string</tt>, <tt>architecture</tt>)</span>
       
       
         <span class='name'></span>
@@ -2343,7 +2473,7 @@
   
     <li>
       
-        <span class='type'>(<tt>string</tt>, <tt>architecture</tt>)</span>
+        <span class='type'>(<tt>string</tt>, <tt>id</tt>)</span>
       
       
         <span class='name'></span>
@@ -2376,11 +2506,11 @@
       <pre class="lines">
 
 
-57
-58</pre>
+141
+142</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 57</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 141</span>
 
 <span class='def def kw'>def</span> <span class='realms identifier id'>realms</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
 <span class='end end kw'>end</span>
@@ -2411,30 +2541,38 @@
       <pre class="lines">
 
 
-273
-274
-275
-276
-277
-278
-279
-280
-281
-282
-283
-284
-285
-286
 287
 288
 289
 290
 291
 292
-293</pre>
+293
+294
+295
+296
+297
+298
+299
+300
+301
+302
+303
+304
+305
+306
+307
+308
+309
+310
+311
+312
+313
+314
+315</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 273</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 287</span>
 
 <span class='def def kw'>def</span> <span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='mult op'>*</span><span class='args identifier id'>args</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
   <span class='conf identifier id'>conf</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span>
@@ -2448,12 +2586,20 @@
   <span class='end end kw'>end</span>
   <span class='logger identifier id'>logger</span> <span class='lshft op'>&lt;&lt;</span> <span class='dstring node'>&quot;[#{conf[:method].to_s.upcase}] #{conf[:path]}\n&quot;</span>
   <span class='if if kw'>if</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:method</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='eql? fid id'>eql?</span><span class='lparen token'>(</span><span class='symbol val'>:post</span><span class='rparen token'>)</span>
-    <span class='RestClient constant id'>RestClient</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:post</span><span class='comma token'>,</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:path</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:form_data</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='default_headers identifier id'>default_headers</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='bitor op'>|</span>
-      <span class='yield yield kw'>yield</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='body identifier id'>body</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
+    <span class='RestClient constant id'>RestClient</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:post</span><span class='comma token'>,</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:path</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:form_data</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='default_headers identifier id'>default_headers</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='comma token'>,</span> <span class='request identifier id'>request</span><span class='comma token'>,</span> <span class='block identifier id'
 >block</span><span class='bitor op'>|</span>
+      <span class='if if kw'>if</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='string val'>'body'</span><span class='rparen token'>)</span>
+        <span class='yield yield kw'>yield</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='body identifier id'>body</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
+      <span class='else else kw'>else</span>
+        <span class='yield yield kw'>yield</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
+      <span class='end end kw'>end</span>
     <span class='end end kw'>end</span>
   <span class='else else kw'>else</span>
-    <span class='RestClient constant id'>RestClient</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:method</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:path</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='default_headers identifier id'>default_headers</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='bitor op'>|</span>
-      <span class='yield yield kw'>yield</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='body identifier id'>body</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
+    <span class='RestClient constant id'>RestClient</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:method</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='conf identifier id'>conf</span><span class='lbrack token'>[</span><span class='symbol val'>:path</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='default_headers identifier id'>default_headers</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='response identifier id'>response</span><span class='comma token'>,</span> <span class='request identifier id'>request</span><span class='comma token'>,</span> <span class='block identifier id'>block</span><span class='bitor op'>|</span>
+      <span class='if if kw'>if</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='string val'>'body'</span><span class='rparen token'>)</span>
+        <span class='yield yield kw'>yield</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='body identifier id'>body</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
+      <span class='else else kw'>else</span>
+        <span class='yield yield kw'>yield</span> <span class='response identifier id'>response</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
+      <span class='end end kw'>end</span>
     <span class='end end kw'>end</span>
   <span class='end end kw'>end</span>
 <span class='end end kw'>end</span>
@@ -2466,13 +2612,13 @@
       <div class="method_details ">
   <p class="signature " id="storage_snapshot-instance_method">
   
-    - (<tt><a href="StorageSnapshot.html" title="DeltaCloud::StorageSnapshot (class)">StorageSnapshot</a></tt>) <strong>storage_snapshot</strong> 
+    - (<tt><a href="API/StorageSnapshot.html" title="DeltaCloud::API::StorageSnapshot (class)">StorageSnapshot</a></tt>) <strong>storage_snapshot</strong> 
   
 
   
 </p><div class="docstring">
   <div class="discussion">
-    <p><em>Storage snapshots description here</em></p>
+    <p>Storage snapshots description here</p>
 
   </div>
 </div>
@@ -2482,7 +2628,7 @@
   
     <li>
       
-        <span class='type'>(<tt><a href="StorageSnapshot.html" title="DeltaCloud::StorageSnapshot (class)">StorageSnapshot</a></tt>)</span>
+        <span class='type'>(<tt><a href="API/StorageSnapshot.html" title="DeltaCloud::API::StorageSnapshot (class)">StorageSnapshot</a></tt>)</span>
       
       
       
@@ -2497,11 +2643,11 @@
       <pre class="lines">
 
 
-8
-9</pre>
+81
+82</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 8</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 81</span>
 
 <span class='def def kw'>def</span> <span class='storage_snapshot identifier id'>storage_snapshot</span>
 <span class='end end kw'>end</span>
@@ -2522,7 +2668,7 @@
   <div class="discussion">
     <p>Return collection of StorageSnapshot objects</p>
 
-<p><em>Storage snapshots description here</em></p>
+<p>Storage snapshots description here</p>
 
   </div>
 </div>
@@ -2565,11 +2711,11 @@
       <pre class="lines">
 
 
-15
-16</pre>
+88
+89</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 15</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 88</span>
 
 <span class='def def kw'>def</span> <span class='storage_snapshots identifier id'>storage_snapshots</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
 <span class='end end kw'>end</span>
@@ -2582,13 +2728,13 @@
       <div class="method_details ">
   <p class="signature " id="storage_volume-instance_method">
   
-    - (<tt><a href="StorageVolume.html" title="DeltaCloud::StorageVolume (class)">StorageVolume</a></tt>) <strong>storage_volume</strong> 
+    - (<tt><a href="API/StorageVolume.html" title="DeltaCloud::API::StorageVolume (class)">StorageVolume</a></tt>) <strong>storage_volume</strong> 
   
 
   
 </p><div class="docstring">
   <div class="discussion">
-    <p><em>Storage volumes description here</em></p>
+    <p>Storage volumes description here</p>
 
   </div>
 </div>
@@ -2598,7 +2744,7 @@
   
     <li>
       
-        <span class='type'>(<tt><a href="StorageVolume.html" title="DeltaCloud::StorageVolume (class)">StorageVolume</a></tt>)</span>
+        <span class='type'>(<tt><a href="API/StorageVolume.html" title="DeltaCloud::API::StorageVolume (class)">StorageVolume</a></tt>)</span>
       
       
       
@@ -2613,11 +2759,11 @@
       <pre class="lines">
 
 
-22
-23</pre>
+21
+22</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 22</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 21</span>
 
 <span class='def def kw'>def</span> <span class='storage_volume identifier id'>storage_volume</span>
 <span class='end end kw'>end</span>
@@ -2638,7 +2784,7 @@
   <div class="discussion">
     <p>Return collection of StorageVolume objects</p>
 
-<p><em>Storage volumes description here</em></p>
+<p>Storage volumes description here</p>
 
   </div>
 </div>
@@ -2681,11 +2827,11 @@
       <pre class="lines">
 
 
-29
-30</pre>
+28
+29</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 29</span>
+      <pre class="code"><span class="info file"># File 'doc/deltacloud.rb', line 28</span>
 
 <span class='def def kw'>def</span> <span class='storage_volumes identifier id'>storage_volumes</span><span class='lparen token'>(</span><span class='opts identifier id'>opts</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
 <span class='end end kw'>end</span>
@@ -2716,21 +2862,6 @@
       <pre class="lines">
 
 
-129
-130
-131
-132
-133
-134
-135
-136
-137
-138
-139
-140
-141
-142
-143
 144
 145
 146
@@ -2793,10 +2924,24 @@
 203
 204
 205
-206</pre>
+206
+207
+208
+209
+210
+211
+212
+213
+214
+215
+216
+217
+218
+219
+220</pre>
     </td>
     <td>
-      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 129</span>
+      <pre class="code"><span class="info file"># File 'lib/deltacloud.rb', line 144</span>
 
 <span class='def def kw'>def</span> <span class='xml_to_class identifier id'>xml_to_class</span><span class='lparen token'>(</span><span class='c identifier id'>c</span><span class='comma token'>,</span> <span class='item identifier id'>item</span><span class='rparen token'>)</span>
   <span class='obj identifier id'>obj</span> <span class='assign token'>=</span> <span class='c identifier id'>c</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
@@ -2849,31 +2994,30 @@
               <span class='end end kw'>end</span>
             <span class='comment val'># Property attribute is handled differently</span>
             <span class='when when kw'>when</span> <span class='string val'>&quot;property&quot;</span><span class='colon op'>:</span>
-              <span class='define_method identifier id'>define_method</span> <span class='symbol val'>:&quot;#{attribute['name'].sanitize}&quot;</span> <span class='do do kw'>do</span>
-                <span class='if if kw'>if</span> <span class='attribute identifier id'>attribute</span><span class='lbrack token'>[</span><span class='string val'>'value'</span><span class='rbrack token'>]</span> <span class='match op'>=~</span> <span class='regexp val'>/^(\d+)$/</span>
-                  <span class='DeltaCloud constant id'>DeltaCloud</span><span class='colon2 op'>::</span><span class='HWP constant id'>HWP</span><span class='colon2 op'>::</span><span class='FloatProperty constant id'>FloatProperty</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='attribute identifier id'>attribute</span><span class='comma token'>,</span> <span class='attribute identifier id'>attribute</span><span class='lbrack token'>[</span><span class='string val'>'name'</span><span class='rbrack token'>]</span><span class='rparen token'>)</span>
-                <span class='else else kw'>else</span>
-                  <span class='DeltaCloud constant id'>DeltaCloud</span><span class='colon2 op'>::</span><span class='HWP constant id'>HWP</span><span class='colon2 op'>::</span><span class='Property constant id'>Property</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='attribute identifier id'>attribute</span><span class='comma token'>,</span> <span class='attribute identifier id'>attribute</span><span class='lbrack token'>[</span><span class='string val'>'name'</span><span class='rbrack token'>]</span><span class='rparen token'>)</span>
-                <span class='end end kw'>end</span>
+              <span class='attr_accessor identifier id'>attr_accessor</span> <span class='symbol val'>:&quot;#{attribute['name'].sanitize}&quot;</span>
+              <span class='if if kw'>if</span> <span class='attribute identifier id'>attribute</span><span class='lbrack token'>[</span><span class='string val'>'value'</span><span class='rbrack token'>]</span> <span class='match op'>=~</span> <span class='regexp val'>/^(\d+)$/</span>
+                <span class='obj identifier id'>obj</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:&quot;#{attribute['name'].sanitize}=&quot;</span><span class='comma token'>,</span>
+                  <span class='DeltaCloud constant id'>DeltaCloud</span><span class='colon2 op'>::</span><span class='HWP constant id'>HWP</span><span class='colon2 op'>::</span><span class='FloatProperty constant id'>FloatProperty</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='attribute identifier id'>attribute</span><span class='comma token'>,</span> <span class='attribute identifier id'>attribute</span><span class='lbrack token'>[</span><span class='string val'>'name'</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
+              <span class='else else kw'>else</span>
+                <span class='obj identifier id'>obj</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:&quot;#{attribute['name'].sanitize}=&quot;</span><span class='comma token'>,</span>
+                  <span class='DeltaCloud constant id'>DeltaCloud</span><span class='colon2 op'>::</span><span class='HWP constant id'>HWP</span><span class='colon2 op'>::</span><span class='Property constant id'>Property</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='attribute identifier id'>attribute</span><span class='comma token'>,</span> <span class='attribute identifier id'>attribute</span><span class='lbrack token'>[</span><span class='string val'>'name'</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
               <span class='end end kw'>end</span>
             <span class='comment val'># Public and private addresses are returned as Array</span>
             <span class='when when kw'>when</span> <span class='string val'>&quot;public_addresses&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;private_addresses&quot;</span><span class='colon op'>:</span>
-              <span class='define_method identifier id'>define_method</span> <span class='symbol val'>:&quot;#{attribute.name.sanitize}&quot;</span> <span class='do do kw'>do</span>
-                <span class='attribute identifier id'>attribute</span><span class='dot token'>.</span><span class='xpath identifier id'>xpath</span><span class='lparen token'>(</span><span class='string val'>'address'</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='collect identifier id'>collect</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='address identifier id'>address</span><span class='bitor op'>|</span> <span class='address identifier id'>address</span><span class='dot token'>.</span><span class='text identifier id'>text</span> <span class='rbrace token'>}</span>
-              <span class='end end kw'>end</span>
+              <span class='attr_accessor identifier id'>attr_accessor</span> <span class='symbol val'>:&quot;#{attribute.name.sanitize}&quot;</span>
+              <span class='obj identifier id'>obj</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:&quot;#{attribute.name.sanitize}=&quot;</span><span class='comma token'>,</span>
+                <span class='attribute identifier id'>attribute</span><span class='dot token'>.</span><span class='xpath identifier id'>xpath</span><span class='lparen token'>(</span><span class='string val'>'address'</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='collect identifier id'>collect</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='address identifier id'>address</span><span class='bitor op'>|</span> <span class='address identifier id'>address</span><span class='dot token'>.</span><span class='text identifier id'>text</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
             <span class='comment val'># Value for other attributes are just returned using</span>
             <span class='comment val'># method with same name as attribute (eg. .owner_id, .state)</span>
             <span class='else else kw'>else</span>
-              <span class='define_method identifier id'>define_method</span> <span class='symbol val'>:&quot;#{attribute.name.sanitize}&quot;</span> <span class='do do kw'>do</span>
-                <span class='attribute identifier id'>attribute</span><span class='dot token'>.</span><span class='text identifier id'>text</span><span class='dot token'>.</span><span class='convert identifier id'>convert</span>
-              <span class='end end kw'>end</span>
-              <span class='logger identifier id'>logger</span> <span class='lshft op'>&lt;&lt;</span> <span class='dstring node'>&quot;[DC] Added method #{attribute.name} to #{obj.class.name}\n&quot;</span>
+              <span class='attr_accessor identifier id'>attr_accessor</span> <span class='symbol val'>:&quot;#{attribute.name.sanitize}&quot;</span>
+              <span class='obj identifier id'>obj</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:&quot;#{attribute.name.sanitize}=&quot;</span><span class='comma token'>,</span> <span class='attribute identifier id'>attribute</span><span class='dot token'>.</span><span class='text identifier id'>text</span><span class='dot token'>.</span><span class='convert identifier id'>convert</span><span class='rparen token'>)</span>
+              <span class='logger identifier id'>logger</span> <span class='lshft op'>&lt;&lt;</span> <span class='dstring node'>&quot;[DC] Added method #{attribute.name}[#{attribute.text}] to #{obj.class.name}\n&quot;</span>
           <span class='end end kw'>end</span>
         <span class='end end kw'>end</span>
       <span class='end end kw'>end</span>
     <span class='end end kw'>end</span>
   <span class='end end kw'>end</span>
-  <span class='add_class_record identifier id'>add_class_record</span><span class='lparen token'>(</span><span class='obj identifier id'>obj</span><span class='rparen token'>)</span>
   <span class='return return kw'>return</span> <span class='obj identifier id'>obj</span>
 <span class='end end kw'>end</span>
 </pre>
@@ -2887,7 +3031,7 @@
 </div>
     
     <div id="footer">
-  Generated on Mon Jun 28 11:12:56 2010 by 
+  Generated on Fri Jul 30 12:16:34 2010 by 
   <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
   0.5.6 (ruby-1.8.7).
 </div>



Mime
View raw message