Class: CDMDEXER::CollectionDescriptionFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/cdmdexer/formatters.rb

Class Method Summary collapse

Class Method Details

.format(value) ⇒ Object



141
142
143
144
# File 'lib/cdmdexer/formatters.rb', line 141

def self.format(value)
  value['oai_sets'].fetch(value['setSpec'], {})
                   .fetch(:description, '')
end