module Exlibris::Primo::Pnx::Frbr

Handle frbr records

Public Instance Methods

frbr?() click to toggle source

Is this a frbr'd record

# File lib/exlibris/primo/pnx/frbr.rb, line 11
def frbr?
  if (respond_to? :facets_frbrgroupid) && (facets_frbrtype != "6")
    @frbr = true
  else
    @frbr = false
  end
  @frbr
end
frbr_id() click to toggle source

Returns the frbr id of this record if there is one.

# File lib/exlibris/primo/pnx/frbr.rb, line 23
def frbr_id
  @frbr_id ||= facets_frbrgroupid if frbr?
end