Class: TrendingProjectsFinder

Inherits:
Object
  • Object
show all
Defined in:
app/finders/trending_projects_finder.rb

Instance Method Summary collapse

Instance Method Details

#execute(current_user, start_date = 1.month.ago) ⇒ Object


2
3
4
# File 'app/finders/trending_projects_finder.rb', line 2

def execute(current_user, start_date = 1.month.ago)
  projects_for(current_user).trending(start_date)
end