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


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

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