Sha256: edfdbab6e302945358ab0a610de9493df43aad7be852d5e9ceb394108b8ee0ea
Contents?: true
Size: 302 Bytes
Versions: 75
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true module Blacklight::Solr::Response::Response def response self[:response] || {} end # short cut to response['numFound'] def total response[:numFound].to_s.to_i end def start response[:start].to_s.to_i end def empty? total.zero? end end
Version data entries
75 entries across 75 versions & 2 rubygems