Sha256: 593a76df77c0bc1d7bb100ce353d7722a34ff1e27550d98b56a7a448999f96dc

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

require 'date'

module NewspaperWorks
  module Ingest
    class PDFIssue
      attr_accessor :path, :publication

      # most acccessors for issue/edition metadata, publication metadata
      #   provided by including this mixin:
      include NewspaperWorks::Ingest::NamedIssueMetadata

      def initialize(path, publication)
        @path = path
        validate_path
        # as a NewspaperWorks::Ingest::PublicationInfo object:
        @publication = publication
      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/pdf_issue.rb
newspaper_works-1.0.0 lib/newspaper_works/ingest/pdf_issue.rb
newspaper_works-0.1.0 lib/newspaper_works/ingest/pdf_issue.rb