Methods

Class/Module Index [+]

Quicksearch

Bio::Hinv::IdSearch

serv = Bio::Hinv::IdSearch.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 425
def initialize
  @url = BASE_URI + "id_search.php"
end

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.