Sha256: 5124cad898b72a36eb2e25850571e95da8ac76c79cd5e44b0e37c50bc696dc06

Contents?: true

Size: 182 Bytes

Versions: 44

Compression:

Stored size: 182 Bytes

Contents

module Hydra::AccessControls
  class EmbargoIndexer
    def initialize(object)
      @object = object
    end

    def generate_solr_document
      @object.to_hash
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
hydra-access-controls-9.5.0 app/indexers/hydra/access_controls/embargo_indexer.rb
hydra-access-controls-9.4.1 app/indexers/hydra/access_controls/embargo_indexer.rb
hydra-access-controls-9.4.0 app/indexers/hydra/access_controls/embargo_indexer.rb
hydra-access-controls-9.3.0 app/indexers/hydra/access_controls/embargo_indexer.rb