Class: Ddr::Index::Response
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Ddr::Index::Response
- Defined in:
- lib/ddr/index/response.rb
Instance Method Summary collapse
Instance Method Details
#docs ⇒ Object
4 5 6 |
# File 'lib/ddr/index/response.rb', line 4 def docs self["response"]["docs"] end |
#num_found ⇒ Object
8 9 10 |
# File 'lib/ddr/index/response.rb', line 8 def num_found self["response"]["numFound"].to_i end |