Class: Bio::Hinv::Acc2hit
Overview
serv = Bio::Hinv::Acc2hit.new serv.query(“acc” => “BC053657”) puts serv.result
Instance Method Summary collapse
-
#initialize ⇒ Acc2hit
constructor
A new instance of Acc2hit.
-
#result ⇒ Object
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv> <H-INVITATIONAL-ID>HIT000053961</H-INVITATIONAL-ID> </H-Inv>.
Methods included from Common
Constructor Details
Instance Method Details
#result ⇒ Object
<?xml version=‘1.0’ encoding=‘UTF-8’?> <H-Inv>
<H-INVITATIONAL-ID>HIT000053961</H-INVITATIONAL-ID>
</H-Inv>
127 128 129 |
# File 'lib/bio/io/hinv.rb', line 127 def result @xml.elements['//H-INVITATIONAL-ID'].text end |