Module: Exlibris::Primo::Pnx::Frbr
- Included in:
- Record
- Defined in:
- lib/exlibris/primo/pnx/frbr.rb
Overview
Handle frbr records
Instance Method Summary collapse
-
#frbr? ⇒ Boolean
Is this a frbr’d record.
-
#frbr_id ⇒ Object
Returns the frbr id of this record if there is one.
Instance Method Details
#frbr? ⇒ Boolean
Is this a frbr’d record
11 12 13 14 15 16 17 18 |
# 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 ⇒ Object
Returns the frbr id of this record if there is one.
23 24 25 |
# File 'lib/exlibris/primo/pnx/frbr.rb', line 23 def frbr_id @frbr_id ||= facets_frbrgroupid if frbr? end |