Sha256: 6bfbb3b8aec00d9f5bfe690202e925f55b47fffe878f80f5cb178c12797a414d
Contents?: true
Size: 1.65 KB
Versions: 3
Compression:
Stored size: 1.65 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>get_faults (Mu::Muapi)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/mu/api/muapi.rb, line 106</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_faults</span>(<span class="ruby-identifier">uuid</span>=<span class="ruby-ivar">@run_uuid</span>) <span class="ruby-identifier">doc</span> = <span class="ruby-ivar">@http</span>.<span class="ruby-identifier">get_xml</span>(<span class="ruby-node">"templates/export?uuid=#{uuid}"</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">doc</span>.<span class="ruby-identifier">xpath</span>(<span class="ruby-value str">"//analysis"</span>).<span class="ruby-identifier">empty?</span> <span class="ruby-identifier">faults</span> = <span class="ruby-identifier">get_xml</span>(<span class="ruby-node">"analysis/getFaultList?uuid=#{uuid}"</span>,<span class="ruby-keyword kw">true</span>) <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">faults</span> <span class="ruby-keyword kw">end</span> <span class="ruby-keyword kw">return</span> <span class="ruby-node">"error: no analysis with uuid: #{uuid} found"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mu-5.7.2.6 | rdoc/classes/Mu/Muapi.src/M000088.html |
mu-5.7.2.5 | rdoc/classes/Mu/Muapi.src/M000088.html |
mu-5.7.2.4 | rdoc/classes/Mu/Muapi.src/M000088.html |