trabajo-afectivo/app/models/sla.rb

14 lines
283 B
Ruby
Raw Normal View History

2016-10-19 03:11:36 +00:00
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
2013-02-01 08:53:14 +00:00
class Sla < ApplicationModel
include NotifiesClients
load 'sla/assets.rb'
include Sla::Assets
store :condition
store :data
validates :name, presence: true
belongs_to :calendar
end