lib/tracker_api/resources/project.rb in tracker_api-0.2.2 vs lib/tracker_api/resources/project.rb in tracker_api-0.2.3
- old
+ new
@@ -79,9 +79,13 @@
# @return [Array[Story]] stories associated with this project
def stories(params = {})
Endpoints::Stories.new(client).get(id, params)
end
+ def memberships(params = {})
+ Endpoints::Memberships.new(client).get(id, params)
+ end
+
# @param [Fixnum] story_id id of story to get
# @return [Story] Story with given id
def story(story_id)
Endpoints::Story.new(client).get(id, story_id)
end