Sha256: e309e87547e39e3a9adfa31dd110ab0a4907d85df95866d98b5580834c392767

Contents?: true

Size: 500 Bytes

Versions: 2

Compression:

Stored size: 500 Bytes

Contents

module TrackerApi
  module Resources
    class Notification
      include Shared::HasId

      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

2 entries across 2 versions & 1 rubygems

Version Path
tracker_api-0.2.12 lib/tracker_api/resources/notification.rb
tracker_api-0.2.11 lib/tracker_api/resources/notification.rb