Sha256: d87aa609a00f5b93c7f397475767bc5076041d068f68f6d22b324dc2d7e7ef47
Contents?: true
Size: 293 Bytes
Versions: 1
Compression:
Stored size: 293 Bytes
Contents
module Blacklight class DocumentFactory def self.build(data, response, options) document_model(data, options).new(data, response) end def self.document_model(_data, options) options[:solr_document_model] || options[:document_model] || SolrDocument end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-7.0.0.rc1 | app/services/blacklight/document_factory.rb |