class PrimoId
  PRIMO_REFERRER_ID_BASE = 'info:sid/primo.exlibrisgroup.com:primo-'
  IDS = {
    'journal' => 'nyu_aleph002736245',
    'Vogue' => 'nyu_aleph002893728',
    'The New Yorker' => 'nyu_aleph002904404',
    'book' => 'nyu_aleph001102376',
    'checked out' => 'nyu_aleph003562911',
    'requested' => 'nyu_aleph000864162',
    'offsite' => 'nyu_aleph002928667',
    'available' => 'nyu_aleph001102376',
    'processing' => 'nyu_aleph003933870',
    'on_order' => 'NEEDED',
    'ill' => 'nyu_aleph000762323'
  }
  attr_reader :id, :state
  def initialize(state)
    @state = state
    @id = IDS[state]
  end
end

class PrimoId
  PRIMO_REFERRER_ID_BASE = 'info:sid/primo.exlibrisgroup.com:primo-'
  IDS = {
    'journal' => 'nyu_aleph002736245',
    'Vogue' => 'nyu_aleph002893728',
    'The New Yorker' => 'nyu_aleph002904404',
    'Not by Reason Alone' => 'nyu_aleph002104209',
    'book' => 'nyu_aleph001102376',
    'checked out' => 'nyu_aleph003562911',
    'requested' => 'nyu_aleph000864162',
    'offsite' => 'nyu_aleph002928667',
    'available' => 'nyu_aleph001102376',
    'processing' => 'nyu_aleph003933870',
    'on_order' => 'NEEDED',
    'ill' => 'nyu_aleph000762323'
  }
  attr_reader :id, :state
  def initialize(state)
    @state = state
    @id = IDS[state]
  end
end

Add Primo ID for the title "Not by Reason Alone"
Add Primo ID for the title "Not by Reason Alone"
