Class: InterMine::Results::SeqReader

Inherits:
JsonReader show all
Defined in:
lib/intermine/results.rb

Instance Method Summary collapse

Methods inherited from JsonReader

#each

Methods inherited from ResultsReader

#each_result, #each_row, #each_summary, #get_size, #read_result_set

Constructor Details

#initialize(base, query, range = {}) ⇒ SeqReader

Returns a new instance of SeqReader.


414
415
416
417
# File 'lib/intermine/results.rb', line 414

def initialize(base, query, range = {})
    super(base + Service::SEQUENCE_PATH, query, 0, nil)
    @range = range
end

Instance Method Details

#params(format = "json") ⇒ Object


419
420
421
# File 'lib/intermine/results.rb', line 419

def params(format = "json")
    @query.params.merge(@range)
end