Module: Hydra::Ezid
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/hydra/ezid.rb,
lib/hydra/ezid/version.rb,
lib/hydra/ezid/mint_error.rb,
lib/hydra/ezid/identifiable.rb
Defined Under Namespace
Modules: Identifiable Classes: MintError
Constant Summary collapse
- VERSION =
'0.0.2'
Class Method Summary collapse
Class Method Details
.config(options = {}.with_indifferent_access) ⇒ Object
11 12 13 14 15 |
# File 'lib/hydra/ezid.rb', line 11 def self.config( = {}.with_indifferent_access) from_file = .fetch(:from_file, default_file) except_keys = Array([:except_keys]) from_file.to_hash.with_indifferent_access.delete_if { |k, v| except_keys.include? k.to_sym } end |