Sha256: 8e6f96cdb7a1594d163a3b5fea1afe65870cbdb0970bfa32ab3e0213ef3b8f67

Contents?: true

Size: 532 Bytes

Versions: 12

Compression:

Stored size: 532 Bytes

Contents

module TrackerApi
  module Resources
    class Notification
      include Shared::Base

      attribute :client

      attribute :message, String
      attribute :context, String
      attribute :kind, String
      attribute :project, Project
      attribute :story, Story
      attribute :performer, Person
      attribute :created_at, DateTime
      attribute :updated_at, DateTime

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

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