Class: WinewooCore::Services::Finders::Wines::WinesFinder
- Inherits:
-
Object
- Object
- WinewooCore::Services::Finders::Wines::WinesFinder
- Defined in:
- lib/winewoo_core/services/finders/wines/wines_finder.rb
Direct Known Subclasses
AllWinesFinder, ElasticsearchWinesFinder, FiltersWinesFinder, InterproWinesFinder, KeywordsWinesFinder, ListOfWinesFinder, NullWinesFinder, ProducerWinesFinder, TopWinesFinder
Instance Method Summary collapse
-
#initialize(filters) ⇒ WinesFinder
constructor
A new instance of WinesFinder.
Constructor Details
#initialize(filters) ⇒ WinesFinder
Returns a new instance of WinesFinder.
4 5 6 7 8 9 10 11 |
# File 'lib/winewoo_core/services/finders/wines/wines_finder.rb', line 4 def initialize(filters) @filters = filters @interpro = @filters.interpro @producer = @filters.producer @page = @filters.page @per_page = @filters.per_page @top_wines = @filters.top_wines end |