Module: CurationConcern::Embargoable
- Extended by:
- ActiveSupport::Concern
- Includes:
- Morphine
- Included in:
- GenericFile
- Defined in:
- app/repository_models/curation_concern/embargoable.rb
Instance Method Summary collapse
Instance Method Details
#embargo_release_date ⇒ Object
27 28 29 |
# File 'app/repository_models/curation_concern/embargoable.rb', line 27 def @embargo_release_date || . end |
#embargo_release_date=(value) ⇒ Object
19 20 21 22 23 24 25 |
# File 'app/repository_models/curation_concern/embargoable.rb', line 19 def (value) @embargo_release_date = begin value.to_date rescue NoMethodError value end end |