Object
serv = Bio::Hinv::Acc2hit.new serv.query(“acc” => “BC053657”) puts serv.result
# File lib/bio/io/hinv.rb, line 119 def initialize @url = BASE_URI + "acc2hit.php" end
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv>
<H-INVITATIONAL-ID>HIT000053961</H-INVITATIONAL-ID>
</H-Inv>
# File lib/bio/io/hinv.rb, line 127 def result @xml.elements['//H-INVITATIONAL-ID'].text end
[Validate]
Generated with the Darkfish Rdoc Generator 2.