Class: WinewooCore::Services::Finders::Comments::CommentsFinder

Inherits:
Object
  • Object
show all
Defined in:
lib/winewoo_core/services/finders/comments/comments_finder.rb

Instance Method Summary collapse

Constructor Details

#initialize(filters) ⇒ CommentsFinder

Returns a new instance of CommentsFinder.



4
5
6
7
8
9
# File 'lib/winewoo_core/services/finders/comments/comments_finder.rb', line 4

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