Module: Artifactory::Defaults
- Defined in:
- lib/cicd/builder/mixlib/repo/artifactory.rb
Class Method Summary collapse
-
.read_timeout ⇒ Integer?
Number of seconds to wait for a response from Artifactory.
-
.reset! ⇒ self
(also: setup)
Reset all configuration options to their default values.
Class Method Details
.read_timeout ⇒ Integer?
Number of seconds to wait for a response from Artifactory
28 29 30 |
# File 'lib/cicd/builder/mixlib/repo/artifactory.rb', line 28 def read_timeout ENV['ARTIFACTORY_READ_TIMEOUT'].to_s.to_i || 120 end |
.reset! ⇒ self Also known as: setup
Reset all configuration options to their default values.
18 19 20 21 |
# File 'lib/cicd/builder/mixlib/repo/artifactory.rb', line 18 def reset! @_options = nil end |