lib/tracker_api/resources/iteration.rb in tracker_api-0.2.6 vs lib/tracker_api/resources/iteration.rb in tracker_api-0.2.7
- old
+ new
@@ -13,8 +13,12 @@
attribute :project_id, Integer
attribute :start, DateTime
attribute :stories, [TrackerApi::Resources::Story]
attribute :story_ids, [Integer]
attribute :team_strength, Float
+
+ def stories=(data)
+ super.each { |s| s.client = client }
+ end
end
end
end