Sha256: e61a51792b1c27209b30e884bf93b1f73702600a49417dee0f87fbbc8c160aa1
Contents?: true
Size: 306 Bytes
Versions: 31
Compression:
Stored size: 306 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
31 entries across 31 versions & 1 rubygems