Sha256: 0219a4856b6530f83c03905a257994d6a4b181eb6b175a464df141168d985ae0

Contents?: true

Size: 323 Bytes

Versions: 17

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
web47core-0.3.2 lib/app/models/notification_template.rb
web47core-0.3.1 lib/app/models/notification_template.rb
web47core-0.3.0 lib/app/models/notification_template.rb
web47core-0.1.11 lib/app/models/notification_template.rb
web47core-0.1.10 lib/app/models/notification_template.rb
web47core-0.1.9 lib/app/models/notification_template.rb
web47core-0.1.8 lib/app/models/notification_template.rb
web47core-0.1.7 lib/app/models/notification_template.rb
web47core-0.1.6 lib/app/models/notification_template.rb
web47core-0.1.5 lib/app/models/notification_template.rb
web47core-0.1.4 lib/app/models/notification_template.rb
web47core-0.1.3 lib/app/models/notification_template.rb
web47core-0.1.2 lib/app/models/notification_template.rb
web47core-0.1.1 lib/app/models/notification_template.rb
web47core-0.1.0 lib/app/models/notification_template.rb
web47core-0.0.10 lib/app/models/notification_template.rb
web47core-0.0.9 lib/app/models/notification_template.rb