Module: Bio::Hinv::Common

Included in:
Acc2hit, Hit2acc, HitCnt, HitDefinition, HitPubmedId, HitXML, Hix2hit, HixCnt, HixRepresent, KeywordSearch
Defined in:
lib/bio/io/hinv.rb

Instance Method Summary collapse

Instance Method Details

#query(options = nil) ⇒ Object



27
28
29
30
31
# File 'lib/bio/io/hinv.rb', line 27

def query(options = nil)
  response = Bio::Command.post_form(@url, options)
  @result = response.body
  @xml = REXML::Document.new(@result)
end