lib/pt/client.rb in pt-0.5.1 vs lib/pt/client.rb in pt-0.5.2
- old
+ new
@@ -31,11 +31,15 @@
def get_current_iteration(project)
PivotalTracker::Iteration.current(project)
end
- def get_activities(project)
- project.activities.all
+ def get_activities(project, limit)
+ if limit
+ project.activities.all :limit => limit
+ else
+ project.activities.all
+ end
end
def get_my_work(project, user_name)
project.stories.all :mywork => user_name
end
\ No newline at end of file