Class: Ddr::Index::Response

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/ddr/index/response.rb

Instance Method Summary collapse

Instance Method Details

#docsObject



4
5
6
# File 'lib/ddr/index/response.rb', line 4

def docs
  self["response"]["docs"]
end

#num_foundObject



8
9
10
# File 'lib/ddr/index/response.rb', line 8

def num_found
  self["response"]["numFound"].to_i
end