README.md in tracker_api-1.4.1 vs README.md in tracker_api-1.5.0
- old
+ new
@@ -61,9 +61,14 @@
story = TrackerApi::Resources::Story.new( client: client,
project_id: 123456,
id: 847762630) # Use the Story resource to get the story
comments = story.comments # comments without first fetching the story
+comment = story.create_comment(text: "Use the force!") # Create a new comment on the story
+
+comment.text += " (please be careful)"
+comment.save # Update text of an existing comment
+
task = story.tasks.first # Get story tasks
task.complete = true
task.save # Mark a task complete
epics = project.epics # Get all epics for a project