Module: Hyrax::DOI::DOIBehavior

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/hyrax/doi/doi_behavior.rb

Constant Summary collapse

DOI_REGEX =
/\A10\.\d{4,}(\.\d+)*\/[-._;():\/A-Za-z\d]+\z/.freeze

Instance Method Summary collapse

Instance Method Details

#doi_registrarObject

Override this method Specify a registrar to use with this class



19
20
21
# File 'app/models/concerns/hyrax/doi/doi_behavior.rb', line 19

def doi_registrar
  nil
end

#doi_registrar_optsObject

Override this method Specify options for the registrar to use with this class



25
26
27
# File 'app/models/concerns/hyrax/doi/doi_behavior.rb', line 25

def doi_registrar_opts
  {}
end