Module: Hyrax::Noid

Extended by:
ActiveSupport::Concern
Included in:
AdminSet, CollectionBehavior, FileSetBehavior, WorkBehavior, Wings::ActiveFedoraConverter::DefaultWork
Defined in:
app/services/hyrax/noid.rb

Instance Method Summary collapse

Instance Method Details

#assign_idObject

This overrides the default behavior, which is to ask Fedora for an id

See Also:

  • ActiveFedora::Persistence.assign_id


8
9
10
# File 'app/services/hyrax/noid.rb', line 8

def assign_id
  service.mint if Hyrax.config.enable_noids?
end