Sha256: 44de132120d0b0f39dabb660369e1f0f5138665c4ef3ee9505c09ab261f29b6f

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

module NewspaperWorks
  module Ingest
    module NDNP
      # Mixin for mets-specific XPath and traversal of issue/page data
      module NDNPAssetHelper
        # Set administrative metadata for asset, based on options saved
        #   on ingester state.
        # Pre-conditions for use:
        #   consuming class implements @target pointing to work asset
        #   consuming class implements @opts pointing to Hash
        def assign_administrative_metadata(work = nil)
          NewspaperWorks::Ingest.assign_administrative_metadata(
            work || @target,
            @opts
          )
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 lib/newspaper_works/ingest/ndnp/ndnp_asset_helper.rb
newspaper_works-1.0.0 lib/newspaper_works/ingest/ndnp/ndnp_asset_helper.rb
newspaper_works-0.1.0 lib/newspaper_works/ingest/ndnp/ndnp_asset_helper.rb