2016-10-19 03:11:36 +00:00
|
|
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
2013-06-12 15:59:58 +00:00
|
|
|
|
2013-02-01 08:53:14 +00:00
|
|
|
class Sla < ApplicationModel
|
2016-03-20 19:09:52 +00:00
|
|
|
load 'sla/assets.rb'
|
|
|
|
include Sla::Assets
|
|
|
|
|
2015-12-11 16:00:04 +00:00
|
|
|
store :condition
|
|
|
|
store :data
|
|
|
|
validates :name, presence: true
|
|
|
|
belongs_to :calendar
|
2016-03-20 19:09:52 +00:00
|
|
|
|
|
|
|
notify_clients_support
|
|
|
|
|
2013-06-12 15:59:58 +00:00
|
|
|
end
|