trigger.rb 273 B

123456789101112
  1. # Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
  2. class Trigger < ApplicationModel
  3. include ChecksConditionValidation
  4. include CanSeed
  5. include Trigger::Assets
  6. store :condition
  7. store :perform
  8. validates :name, presence: true
  9. end