doc/rdoc/MyExperimentREST/MyExperimentWorkflow.html in myexperiment-rest-0.3.0 vs doc/rdoc/MyExperimentREST/MyExperimentWorkflow.html in myexperiment-rest-0.3.2

- old
+ new

@@ -114,10 +114,12 @@ <li><a href="../MyExperimentREST/MyExperimentUser.html">MyExperimentREST::MyExperimentUser</a></li> <li><a href="../MyExperimentREST/MyExperimentWorkflow.html">MyExperimentREST::MyExperimentWorkflow</a></li> + <li><a href="../MyExperimentREST/SessionCookie.html">MyExperimentREST::SessionCookie</a></li> + <li><a href="../MyExperimentREST/Urls.html">MyExperimentREST::Urls</a></li> <li><a href="../MyExperimentREST/User.html">MyExperimentREST::User</a></li> <li><a href="../MyExperimentREST/Workflow.html">MyExperimentREST::Workflow</a></li> @@ -134,18 +136,14 @@ <h1 class="class">MyExperimentREST::MyExperimentWorkflow</h1> <div id="description" class="description"> <p>Contains all available information about a workflow: <em><a -href="MyExperimentWorkflow.html#attribute-i-xml_uri">xml_uri</a></em>, +href="MyExperimentWorkflow.html#attribute-i-content_uri">content_uri</a></em>, <em>title</em>, <em>description</em>,<em>inputs</em>, <em>outputs</em> and <em><a -href="MyExperimentWorkflow.html#attribute-i-uploader_uri">uploader_uri</a></em>. -The <em><a -href="MyExperimentWorkflow.html#attribute-i-xml_uri">xml_uri</a></em> -specifies the XML description on myExperiment and not the XML of the -workflow itself.</p> +href="MyExperimentWorkflow.html#attribute-i-uploader_uri">uploader_uri</a></em>.</p> </div><!-- description --> <div id="5Buntitled-5D" class="documentation-section"> @@ -159,10 +157,25 @@ <!-- Attributes --> <div id="attribute-method-details" class="method-section section"> <h3 class="section-header">Attributes</h3> + <div id="content_uri-attribute-method" class="method-detail"> + <a name="content_uri"></a> + + <div class="method-heading attribute-method-heading"> + <span class="method-name">content_uri</span><span + class="attribute-access-type">[R]</span> + </div> + + <div class="method-description"> + + + + </div> + </div> + <div id="description-attribute-method" class="method-detail"> <a name="description"></a> <div class="method-heading attribute-method-heading"> <span class="method-name">description</span><span @@ -234,25 +247,10 @@ </div> </div> - <div id="xml_uri-attribute-method" class="method-detail"> - <a name="xml_uri"></a> - - <div class="method-heading attribute-method-heading"> - <span class="method-name">xml_uri</span><span - class="attribute-access-type">[R]</span> - </div> - - <div class="method-description"> - - - - </div> - </div> - </div><!-- attribute-method-details --> <!-- Methods --> @@ -277,13 +275,13 @@ <div class="method-source-code" id="new-source"> <pre> -<span class="ruby-comment"># File lib/myexperiment-rest/workflow.rb, line 61</span> +<span class="ruby-comment"># File lib/myexperiment-rest/workflow.rb, line 59</span> <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">attributes</span>) - <span class="ruby-ivar">@xml_uri</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:xml_uri</span>] + <span class="ruby-ivar">@content_uri</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:content_uri</span>] <span class="ruby-ivar">@title</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:title</span>] <span class="ruby-ivar">@description</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:description</span>] <span class="ruby-ivar">@inputs</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:inputs</span>] <span class="ruby-ivar">@outputs</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:outputs</span>] <span class="ruby-ivar">@uploader_uri</span> = <span class="ruby-identifier">attributes</span>[<span class="ruby-value">:uploader_uri</span>] @@ -316,11 +314,11 @@ <div class="method-source-code" id="parse-source"> <pre> -<span class="ruby-comment"># File lib/myexperiment-rest/workflow.rb, line 71</span> +<span class="ruby-comment"># File lib/myexperiment-rest/workflow.rb, line 69</span> <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">xml</span>) <span class="ruby-identifier">wkf_inputs</span> = [] <span class="ruby-identifier">wkf_outputs</span> = [] @@ -333,10 +331,10 @@ <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">find</span>(<span class="ruby-string">&quot;//workflow/components/dataflows/dataflow[@role='top']/sinks/sink&quot;</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">element</span><span class="ruby-operator">|</span> <span class="ruby-identifier">wkf_outputs</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">MyExperimentIOData</span>.<span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">element</span>) <span class="ruby-keyword">end</span> - <span class="ruby-identifier">new</span>(<span class="ruby-value">:xml_uri</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">find_first</span>(<span class="ruby-string">&quot;/workflow/content-uri&quot;</span>).<span class="ruby-identifier">content</span>, + <span class="ruby-identifier">new</span>(<span class="ruby-value">:content_uri</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">find_first</span>(<span class="ruby-string">&quot;/workflow/content-uri&quot;</span>).<span class="ruby-identifier">content</span>, <span class="ruby-value">:title</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">find_first</span>(<span class="ruby-string">&quot;/workflow/title&quot;</span>).<span class="ruby-identifier">content</span>, <span class="ruby-value">:description</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">find_first</span>(<span class="ruby-string">&quot;/workflow/description&quot;</span>).<span class="ruby-identifier">content</span>, <span class="ruby-value">:inputs</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">wkf_inputs</span>, <span class="ruby-value">:outputs</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">wkf_outputs</span>, <span class="ruby-value">:uploader_uri</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">find_first</span>(<span class="ruby-string">&quot;/workflow/uploader&quot;</span>).<span class="ruby-identifier">attributes</span>[<span class="ruby-string">'uri'</span>])