lib/tracker_api/resources/activity.rb in tracker_api-0.2.9 vs lib/tracker_api/resources/activity.rb in tracker_api-0.2.10

- old
+ new

@@ -1,20 +1,22 @@ module TrackerApi module Resources class Activity include Virtus.model + include Equalizer.new(:guid) + attribute :client attribute :kind, String attribute :guid, String attribute :project_version, Integer attribute :message, String attribute :highlight, String - attribute :changes, Array[TrackerApi::Resources::Change] - attribute :primary_resources, Array[TrackerApi::Resources::PrimaryResource] - attribute :project, TrackerApi::Resources::Project - attribute :performed_by, TrackerApi::Resources::Person + attribute :changes, Array[Resources::Change] + attribute :primary_resources, Array[Resources::PrimaryResource] + attribute :project, Resources::Project + attribute :performed_by, Resources::Person attribute :occurred_at, DateTime def project=(data) super.client = client end