Sha256: 49646a16a7f981ff6a08fbfb3b73380d106a8dfd29f56458f2a9063f8197b3b2

Contents?: true

Size: 598 Bytes

Versions: 9

Compression:

Stored size: 598 Bytes

Contents

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, [Change]
      attribute :primary_resources, [PrimaryResource]
      attribute :project, Project
      attribute :performed_by, Person
      attribute :occurred_at, DateTime

      def project=(data)
        super.client = client
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tracker_api-1.7.1 lib/tracker_api/resources/activity.rb
tracker_api-1.7.0 lib/tracker_api/resources/activity.rb
tracker_api-1.6.0 lib/tracker_api/resources/activity.rb
tracker_api-1.5.0 lib/tracker_api/resources/activity.rb
tracker_api-1.4.1 lib/tracker_api/resources/activity.rb
tracker_api-1.4.0 lib/tracker_api/resources/activity.rb
tracker_api-1.3.0 lib/tracker_api/resources/activity.rb
tracker_api-1.2.1 lib/tracker_api/resources/activity.rb
tracker_api-1.1.1 lib/tracker_api/resources/activity.rb