Sha256: 4615373e954986565c8e1c95e89eaa6c4c1c4d46d8dc90ee78044a25d1a32c2c

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

module NewspaperWorks
  class Configuration
    # 'publication_unique_id' configs used for Chronicling America style linking
    attr_writer :publication_unique_id_property
    def publication_unique_id_property
      @publication_unique_id_property || :lccn
    end

    attr_writer :publication_unique_id_field
    def publication_unique_id_field
      @publication_unique_id_field || 'lccn_tesim'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 lib/newspaper_works/configuration.rb
newspaper_works-1.0.0 lib/newspaper_works/configuration.rb
newspaper_works-0.1.0 lib/newspaper_works/configuration.rb