lib/tracker_api/endpoints/story.rb in tracker_api-0.2.12 vs lib/tracker_api/endpoints/story.rb in tracker_api-1.0.0

- old
+ new

@@ -29,9 +29,11 @@ raise ArgumentError, 'Valid story required to update.' unless story.instance_of?(Resources::Story) data = client.put("/projects/#{story.project_id}/stories/#{story.id}", params: params).body story.attributes = data + story.clean! + story end end end end