Class: ActiveFedora::WithMetadata::MetadataNode
- Inherits:
-
Object
- Object
- ActiveFedora::WithMetadata::MetadataNode
- Defined in:
- lib/wings/setup.rb
Instance Method Summary collapse
Instance Method Details
#changed_attributes ⇒ Object
Note:
fcrepo rejects ‘:file_hash` updates. the attribute is managed by the data store. always drop it from changed attributes.
65 66 67 |
# File 'lib/wings/setup.rb', line 65 def changed_attributes super.except(:file_hash) end |
#pcdm_use ⇒ Object
69 70 71 |
# File 'lib/wings/setup.rb', line 69 def pcdm_use type end |
#pcdm_use=(value) ⇒ Object
73 74 75 |
# File 'lib/wings/setup.rb', line 73 def pcdm_use=(value) self.type = value end |