Class: WinewooCore::Services::Finders::Comments::CommentsFinder
- Inherits:
-
Object
- Object
- WinewooCore::Services::Finders::Comments::CommentsFinder
- Defined in:
- lib/winewoo_core/services/finders/comments/comments_finder.rb
Direct Known Subclasses
CurrentWinewooUserCommentsFinder, VintageCommentsFinder, WineCommentsFinder, WinewooUserCommentsFinder
Instance Method Summary collapse
-
#initialize(filters) ⇒ CommentsFinder
constructor
A new instance of CommentsFinder.
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 |