lib/tracker_api/resources/project.rb in tracker_api-0.2.5 vs lib/tracker_api/resources/project.rb in tracker_api-0.2.6

- old
+ new

@@ -88,8 +88,14 @@ # @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 + + # @param [Hash] hash of attributes to create the story + # @return [Story] Story with given id + def create_story(params) + Endpoints::Story.new(client).create(id, params) + end end end end