Class: WinewooCore::Repositories::Mongo::InterproCriterionsMongoRepo

Inherits:
Object
  • Object
show all
Defined in:
lib/winewoo_core/repositories/mongo/interpro_criterions_mongo_repo.rb

Defined Under Namespace

Classes: AocsFinder, Finder, FinderBuilder, GrapesFinder, OpportunitiesFinder, PictosFinder, StoragesFinder

Instance Method Summary collapse

Instance Method Details

#find(filters) ⇒ Object



4
5
6
7
8
# File 'lib/winewoo_core/repositories/mongo/interpro_criterions_mongo_repo.rb', line 4

def find(filters)
  @filters = filters
  category = filters.category && filters.category.parameterize.underscore.to_sym
  return category && find_and_serialize_criterions(category)
end