BigW Consortium Gitlab

variables.rb 383 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
module Gitlab
  module Ci
    class Config
      module Node
        ##
        # Entry that represents environment variables.
        #
        class Variables < Entry
          include Validatable

          validations do
12
            validates :config, variables: true
13 14 15 16
          end

          def self.default
            {}
17 18 19 20 21 22
          end
        end
      end
    end
  end
end