Sha256: dd15eaaeaf1c9b1fda8513cad9dcc72e21bfb3584cfaf193c2982fe1c95ce34d
Contents?: true
Size: 565 Bytes
Versions: 66
Compression:
Stored size: 565 Bytes
Contents
module CurationConcerns class RestrictionService class << self private def presenter_class raise "RestrictionService is an Abstract class and should be extended. Implement presenter_class in the subclass" end def presenters(builder) response = repository.search(builder) response.documents.map { |d| presenter_class.new(d) } end def repository config.repository end def config @config ||= ::CatalogController.new end end end end
Version data entries
66 entries across 66 versions & 1 rubygems