21 lines
404 B
Ruby
21 lines
404 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Gitlab
|
||
|
module Ci
|
||
|
class Config
|
||
|
module Entry
|
||
|
##
|
||
|
# Entry that represents the interrutible value.
|
||
|
#
|
||
|
class Boolean < ::Gitlab::Config::Entry::Node
|
||
|
include ::Gitlab::Config::Entry::Validatable
|
||
|
|
||
|
validations do
|
||
|
validates :config, boolean: true
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|