Sha256: 8ec1f20e7dd04055636862767ba53c2ea4c268cf943d3ed70a0c06453dcd4afb

Contents?: true

Size: 499 Bytes

Versions: 9

Compression:

Stored size: 499 Bytes

Contents

module TrackerApi
  module Resources
    class Notification
      include Shared::Base

      attribute :client

      attribute :message, 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

9 entries across 9 versions & 1 rubygems

Version Path
tracker_api-1.6.0 lib/tracker_api/resources/notification.rb
tracker_api-1.5.0 lib/tracker_api/resources/notification.rb
tracker_api-1.4.1 lib/tracker_api/resources/notification.rb
tracker_api-1.4.0 lib/tracker_api/resources/notification.rb
tracker_api-1.3.0 lib/tracker_api/resources/notification.rb
tracker_api-1.2.1 lib/tracker_api/resources/notification.rb
tracker_api-1.1.1 lib/tracker_api/resources/notification.rb
tracker_api-1.1.0 lib/tracker_api/resources/notification.rb
tracker_api-1.0.0 lib/tracker_api/resources/notification.rb