Module: Blacklight::Solr::Response::Response
- Included in:
 - Blacklight::Solr::Response
 
- Defined in:
 - lib/blacklight/solr/response/response.rb
 
Instance Method Summary collapse
Instance Method Details
#empty? ⇒ Boolean
      17 18 19  | 
    
      # File 'lib/blacklight/solr/response/response.rb', line 17 def empty? total.zero? end  | 
  
#response ⇒ Object
      4 5 6  | 
    
      # File 'lib/blacklight/solr/response/response.rb', line 4 def response self[:response] || {} end  | 
  
#start ⇒ Object
      13 14 15  | 
    
      # File 'lib/blacklight/solr/response/response.rb', line 13 def start response[:start].to_s.to_i end  | 
  
#total ⇒ Object
short cut to response
      9 10 11  | 
    
      # File 'lib/blacklight/solr/response/response.rb', line 9 def total response[:numFound].to_s.to_i end  |