Sha256: c8abc96588acc4510cd6602cb57ec85cdb119ceb8c7b91214995b6571e3fb50b
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'noid' module ActiveFedora module Noid class Service attr_reader :minter def initialize(minter = default_minter) @minter = minter end def valid?(identifier) minter.valid? identifier end def mint minter.mint end protected def default_minter ActiveFedora::Noid.config.minter_class.new end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_fedora-noid-2.0.0.beta5 | lib/active_fedora/noid/service.rb |
active_fedora-noid-2.0.0.beta4 | lib/active_fedora/noid/service.rb |