gitlab-org--gitlab-foss/lib/gitlab/ci/config/entry/trigger.rb
2017-01-25 01:07:44 -02:00

18 lines
349 B
Ruby

module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents a trigger policy for the job.
#
class Trigger < Node
include Validatable
validations do
validates :config, array_of_strings_or_regexps: true
end
end
end
end
end
end