Sha256: 8032ee3019c770a4664f5315721d2eeda8eadfe482e094c6ae9a93e6556fa60e

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 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, 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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tracker_api-0.2.10 lib/tracker_api/resources/activity.rb