Sha256: b0ddefd1d60d21f0898d44ba3395bf10b332c44a84de009a669a3e915b15cc09

Contents?: true

Size: 598 Bytes

Versions: 10

Compression:

Stored size: 598 Bytes

Contents

module TrackerApi
  module Resources
    class Activity
      include Shared::Base
      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

10 entries across 10 versions & 1 rubygems

Version Path
tracker_api-1.16.0 lib/tracker_api/resources/activity.rb
tracker_api-1.15.0 lib/tracker_api/resources/activity.rb
tracker_api-1.14.0 lib/tracker_api/resources/activity.rb
tracker_api-1.13.0 lib/tracker_api/resources/activity.rb
tracker_api-1.12.0 lib/tracker_api/resources/activity.rb
tracker_api-1.11.0 lib/tracker_api/resources/activity.rb
tracker_api-1.10.0 lib/tracker_api/resources/activity.rb
tracker_api-1.9.1 lib/tracker_api/resources/activity.rb
tracker_api-1.9.0 lib/tracker_api/resources/activity.rb
tracker_api-1.8.0 lib/tracker_api/resources/activity.rb