trabajo-afectivo/app/models/trigger.rb

13 lines
273 B
Ruby
Raw Normal View History

2016-10-19 03:11:36 +00:00
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
2016-05-03 00:36:44 +00:00
class Trigger < ApplicationModel
include ChecksConditionValidation
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