Class: WinewooCore::Services::Finders::Producers::ProducersFinder

Inherits:
Object
  • Object
show all
Defined in:
lib/winewoo_core/services/finders/producers/producers_finder.rb

Instance Method Summary collapse

Constructor Details

#initialize(filters) ⇒ ProducersFinder

Returns a new instance of ProducersFinder.



4
5
6
7
8
9
10
# File 'lib/winewoo_core/services/finders/producers/producers_finder.rb', line 4

def initialize(filters)
  @filters = filters
  @interpro = @filters.interpro
  @page = @filters.page
  @per_page = @filters.per_page
  @max_number = @filters.max_number
end