class Bio::Hinv::IdSearch

serv = ::new serv.query(“query” => “HIT00002218*”, “id_type” => “H-INVITATIONAL-ID”, “start” => 1, “end” => 100) puts serv.result puts serv.size puts serv.start puts serv.end

Public Class Methods

new() click to toggle source
# File lib/bio/io/hinv.rb, line 424
def initialize
  @url = BASE_URI + "id_search.php"
end

Public Instance Methods

query(hash = {}) click to toggle source
Calls superclass method Bio::Hinv::KeywordSearch#query
# File lib/bio/io/hinv.rb, line 428
def query(hash = {})
  default = {
    "id_type" => "H-INVITATIONAL-ID",
    "start" => 1,
    "end" => 100
  }
  options = default.update(hash)
  super(options)
end