trabajo-afectivo/app/models/trigger.rb

14 lines
307 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
2016-05-03 00:36:44 +00:00
class Trigger < ApplicationModel
include ChecksConditionValidation
include ChecksPerformValidation
2017-05-14 18:41:25 +00:00
include CanSeed
include Trigger::Assets
2016-05-03 00:36:44 +00:00
store :condition
store :perform
validates :name, presence: true
2012-04-10 14:06:46 +00:00
end