Module: CurationConcerns::Noid
- Extended by:
- ActiveSupport::Concern
- Included in:
- AdminSetBehavior, CollectionBehavior, FileSetBehavior, WorkBehavior
- Defined in:
- app/services/curation_concerns/noid.rb
Instance Method Summary collapse
-
#assign_id ⇒ Object
This overrides the default behavior, which is to ask Fedora for an id.
- #to_param ⇒ Object
Instance Method Details
#assign_id ⇒ Object
This overrides the default behavior, which is to ask Fedora for an id
9 10 11 |
# File 'app/services/curation_concerns/noid.rb', line 9 def assign_id service.mint if CurationConcerns.config.enable_noids end |
#to_param ⇒ Object
13 14 15 |
# File 'app/services/curation_concerns/noid.rb', line 13 def to_param id end |