Class: WinewooCore::Repositories::Mongo::InterproCriterionsMongoRepo::AocsFinder
- Inherits:
-
Finder
- Object
- Finder
- WinewooCore::Repositories::Mongo::InterproCriterionsMongoRepo::AocsFinder
- Defined in:
- lib/winewoo_core/repositories/mongo/interpro_criterions_mongo_repo.rb
Instance Method Summary collapse
Methods inherited from Finder
Constructor Details
This class inherits a constructor from WinewooCore::Repositories::Mongo::InterproCriterionsMongoRepo::Finder
Instance Method Details
#find ⇒ Object
64 65 66 67 68 |
# File 'lib/winewoo_core/repositories/mongo/interpro_criterions_mongo_repo.rb', line 64 def find interpro = @filters.interpro return [] unless interpro && interpro.wine_data_element interpro.wine_data_element.appelations end |