Module: OaiRepository::Set
- Defined in:
- lib/oai_repository.rb
Instance Method Summary collapse
Instance Method Details
#sets ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/oai_repository.rb', line 39 def sets OaiRepository.sets.select {|s| s[:model] == self.class}.map{|set_obj| OAI::Set.new( { name: set_obj[:name], spec: set_obj[:spec], description: set_obj[:description] } ) } end |