Sha256: 6db0349c09e6ab8ec881259823ea9f61ebc1751ca600a1a6be04da3c75b5f0d0

Contents?: true

Size: 184 Bytes

Versions: 13

Compression:

Stored size: 184 Bytes

Contents

module Carnival
  class Notification < ActiveRecord::Base
    include Carnival::ModelHelper
    has_many :admin_user_notifications

    def to_label
      self.title
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
carnival-0.0.59 app/models/carnival/notification.rb
carnival-0.0.58 app/models/carnival/notification.rb
carnival-0.0.57 app/models/carnival/notification.rb
carnival-0.0.56 app/models/carnival/notification.rb
carnival-0.0.55 app/models/carnival/notification.rb
carnival-0.0.54 app/models/carnival/notification.rb
carnival-0.0.53 app/models/carnival/notification.rb
carnival-0.0.52 app/models/carnival/notification.rb
carnival-0.0.51 app/models/carnival/notification.rb
carnival-0.0.50 app/models/carnival/notification.rb
carnival-0.0.49 app/models/carnival/notification.rb
carnival-0.0.48 app/models/carnival/notification.rb
carnival-0.0.47 app/models/carnival/notification.rb