lib/tracker_api/resources/iteration.rb in tracker_api-0.2.10 vs lib/tracker_api/resources/iteration.rb in tracker_api-0.2.11
- old
+ new
@@ -1,10 +1,9 @@
module TrackerApi
module Resources
class Iteration
include Virtus.model
-
include Equalizer.new(:number, :project_id)
attribute :client
attribute :finish, DateTime
@@ -12,10 +11,10 @@
attribute :length, Integer
attribute :number, Integer
attribute :planned, Boolean
attribute :project_id, Integer
attribute :start, DateTime
- attribute :stories, [TrackerApi::Resources::Story]
+ attribute :stories, [Story]
attribute :story_ids, [Integer]
attribute :team_strength, Float
def stories=(data)
super.each { |s| s.client = client }