Sha256: 387ce91adce5bc1ef88040685f45526f9e79b9f59eb8b0d7d4cebb877eec1bf6

Contents?: true

Size: 299 Bytes

Versions: 79

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

#
# Base class for notification
#
class NotificationTemplate < Template
  #
  # Fields
  #
  field :draft, type: Boolean, default: true
  #
  # Relationships
  #
  has_many :notifications, dependent: :nullify
  #
  # Validations
  #
  validates_presence_of :draft
end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
web47core-2.2.20 lib/app/models/notification_template.rb
web47core-2.2.19 lib/app/models/notification_template.rb
web47core-2.2.15 lib/app/models/notification_template.rb
web47core-2.3.4 lib/app/models/notification_template.rb
web47core-2.3.3 lib/app/models/notification_template.rb
web47core-2.3.2 lib/app/models/notification_template.rb
web47core-2.3.1 lib/app/models/notification_template.rb
web47core-2.3.0 lib/app/models/notification_template.rb
web47core-2.2.18 lib/app/models/notification_template.rb
web47core-2.2.17 lib/app/models/notification_template.rb
web47core-1.1.16 lib/app/models/notification_template.rb
web47core-1.1.15 lib/app/models/notification_template.rb
web47core-1.1.14 lib/app/models/notification_template.rb
web47core-1.1.13 lib/app/models/notification_template.rb
web47core-1.1.12 lib/app/models/notification_template.rb
web47core-1.1.11 lib/app/models/notification_template.rb
web47core-2.0.1 lib/app/models/notification_template.rb
web47core-2.0.0 lib/app/models/notification_template.rb
web47core-1.1.10 lib/app/models/notification_template.rb
web47core-1.1.9 lib/app/models/notification_template.rb