Class: Gitlab::Ci::Config::Entry::JobInput
- Inherits:
-
Gitlab::Config::Entry::Node
- Object
- Gitlab::Config::Entry::Node
- Gitlab::Ci::Config::Entry::JobInput
- Includes:
- BaseInput
- Defined in:
- lib/gitlab/ci/config/entry/job_input.rb
Constant Summary collapse
- ALLOWED_KEYS =
COMMON_ALLOWED_KEYS
Constants included from BaseInput
BaseInput::ALLOWED_OPTIONS_LIMIT, BaseInput::COMMON_ALLOWED_KEYS
Constants inherited from Gitlab::Config::Entry::Node
Gitlab::Config::Entry::Node::InvalidError
Instance Attribute Summary
Attributes inherited from Gitlab::Config::Entry::Node
#config, #default, #deprecation, #description, #key, #metadata, #parent
Instance Method Summary collapse
Methods inherited from Gitlab::Config::Entry::Node
#[], #add_warning, #ancestors, #array?, aspects, #compose!, default, #descendants, #errors, #hash?, #initialize, #inspect, #integer?, #leaf?, #location, #opt, #relevant?, #specified?, #string?, #valid?, #warnings, with_aspect
Constructor Details
This class inherits a constructor from Gitlab::Config::Entry::Node
Instance Method Details
#value ⇒ Object
20 21 22 |
# File 'lib/gitlab/ci/config/entry/job_input.rb', line 20 def value config.merge(type: config[:type] || 'string') end |