Sha256: 57218f3f6edc781c2b8442bf99d77b561c5941a5d3629e94fd05a8bc335480a2
Contents?: true
Size: 570 Bytes
Versions: 13
Compression:
Stored size: 570 Bytes
Contents
module Blacklight class AbstractRepository attr_accessor :blacklight_config attr_writer :connection # ActiveSupport::Benchmarkable requires a logger method attr_accessor :logger include ActiveSupport::Benchmarkable def initialize blacklight_config @blacklight_config = blacklight_config end def connection @connection ||= build_connection end protected def connection_config blacklight_config.connection_config end def logger @logger ||= Blacklight.logger end end end
Version data entries
13 entries across 13 versions & 1 rubygems