Sha256: 5191f0abc493cf161defb18b100969f8b92aaebc6e2e8c0a71b8b84f4f8d3d9f

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

module TrackerApi
  module Resources
    class Notification
      include Resources::Base

      attribute :client

      attribute :message, String
      attribute :kind, String
      attribute :project, TrackerApi::Resources::Project
      attribute :story, TrackerApi::Resources::Story
      attribute :performer, TrackerApi::Resources::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

1 entries across 1 versions & 1 rubygems

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