sla.rb 328 B

1234567891011121314
  1. # Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
  2. class Sla < ApplicationModel
  3. include ChecksClientNotification
  4. include ChecksConditionValidation
  5. load 'sla/assets.rb'
  6. include Sla::Assets
  7. store :condition
  8. store :data
  9. validates :name, presence: true
  10. belongs_to :calendar
  11. end