Sha256: d6ec5f73a26d1bc94e6248577480174316c66164b82d89294825473df3db7bbc

Contents?: true

Size: 579 Bytes

Versions: 3

Compression:

Stored size: 579 Bytes

Contents

# NewspaperIssue ancestor data
module NewspaperWorks
  # shared NewspaperIssue info for multiple newspaper models
  module IssueInfoPresenter
    def issue_id
      solr_document['issue_id_ssi']
    end

    def issue_title
      solr_document['issue_title_ssi']
    end

    def publication_date
      solr_document['publication_date_dtsi']
    end

    def issue_volume
      solr_document['issue_volume_ssi']
    end

    def issue_edition
      solr_document['issue_edition_number_ssi']
    end

    def issue_number
      solr_document['issue_number_ssi']
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 app/presenters/newspaper_works/issue_info_presenter.rb
newspaper_works-1.0.0 app/presenters/newspaper_works/issue_info_presenter.rb
newspaper_works-0.1.0 app/presenters/newspaper_works/issue_info_presenter.rb