Class: UwCatalog::HoldingMarc

Inherits:
Object
  • Object
show all
Defined in:
lib/uw_catalog/model/holding_marc.rb

Constant Summary collapse

YEAR_CAPTIONS =
['(year)', '(Year)', 'year', '(year covered)']
MONTH_CAPTIONS =
['(month)', 'mo']
DAY_CAPTIONS =
['(day)']
SEASON_CAPTIONS =
['(season)']

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(holding_id) ⇒ HoldingMarc

Returns a new instance of HoldingMarc.



11
12
13
14
# File 'lib/uw_catalog/model/holding_marc.rb', line 11

def initialize(holding_id)
  @holding_id = holding_id
  to_marc
end

Instance Attribute Details

#holding_idObject (readonly)

Returns the value of attribute holding_id.



9
10
11
# File 'lib/uw_catalog/model/holding_marc.rb', line 9

def holding_id
  @holding_id
end

#recordObject (readonly)

Returns the value of attribute record.



9
10
11
# File 'lib/uw_catalog/model/holding_marc.rb', line 9

def record
  @record
end

Instance Method Details

#bound_copiesObject



20
21
22
# File 'lib/uw_catalog/model/holding_marc.rb', line 20

def bound_copies
  bound_copies_internal
end

#indexesObject



24
25
26
# File 'lib/uw_catalog/model/holding_marc.rb', line 24

def indexes
  indexes_internal
end

#marc_recordObject



16
17
18
# File 'lib/uw_catalog/model/holding_marc.rb', line 16

def marc_record 
  @record
end

#supplementsObject



32
33
34
# File 'lib/uw_catalog/model/holding_marc.rb', line 32

def supplements
  supplements_internal
end