lib/tracker_api/resources/activity.rb in tracker_api-0.2.10 vs lib/tracker_api/resources/activity.rb in tracker_api-0.2.11
- old
+ new
@@ -1,22 +1,21 @@
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[Resources::Change]
- attribute :primary_resources, Array[Resources::PrimaryResource]
- attribute :project, Resources::Project
- attribute :performed_by, Resources::Person
+ attribute :changes, Array[Change]
+ attribute :primary_resources, Array[PrimaryResource]
+ attribute :project, Project
+ attribute :performed_by, Person
attribute :occurred_at, DateTime
def project=(data)
super.client = client
end