lib/tracker_api/endpoints/story.rb in tracker_api-0.2.4 vs lib/tracker_api/endpoints/story.rb in tracker_api-0.2.5

- old
+ new

@@ -10,8 +10,14 @@ def get(project_id, id) data = client.get("/projects/#{project_id}/stories/#{id}").body Resources::Story.new({ client: client }.merge(data)) end + + def get_story(story_id) + data = client.get("/stories/#{story_id}").body + + Resources::Story.new({ client: client }.merge(data)) + end end end end