Module: Artifactory::Configurable
- Defined in:
- lib/cicd/builder/mixlib/repo/artifactory.rb
Overview
A re-usable class containing configuration information for the Client. See Defaults for a list of default values.
Instance Method Summary collapse
-
#reset! ⇒ self
(also: #setup)
Reset all configuration options to their default values.
Instance Method Details
#reset! ⇒ self Also known as: setup
Reset all configuration options to their default values.
49 50 51 52 53 54 55 |
# File 'lib/cicd/builder/mixlib/repo/artifactory.rb', line 49 def reset! Defaults.reset! Artifactory::Configurable.keys.each do |key| instance_variable_set(:"@#{key}", Defaults.[key]) end self end |