Sha256: 8aa6acd90ffea9fd1d5d52e748a3e2f5828b3243ce517cb792413560fcda125a
Contents?: true
Size: 303 Bytes
Versions: 26
Compression:
Stored size: 303 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
26 entries across 26 versions & 2 rubygems