Class: R10K::Initializers::GitInitializer
- Inherits:
-
BaseInitializer
- Object
- BaseInitializer
- R10K::Initializers::GitInitializer
- Defined in:
- lib/r10k/initializers.rb
Constant Summary
Constants included from Logging
Logging::LOG_LEVELS, Logging::SYSLOG_LEVELS_MAP
Instance Method Summary collapse
Methods inherited from BaseInitializer
Methods included from Logging
add_outputters, debug_formatter, default_formatter, default_outputter, #logger, #logger_name, parse_level
Constructor Details
This class inherits a constructor from R10K::Initializers::BaseInitializer
Instance Method Details
#call ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/r10k/initializers.rb', line 66 def call with_setting(:provider) { |value| R10K::Git.provider = value } with_setting(:username) { |value| R10K::Git.settings[:username] = value } with_setting(:private_key) { |value| R10K::Git.settings[:private_key] = value } with_setting(:proxy) { |value| R10K::Git.settings[:proxy] = value } with_setting(:repositories) { |value| R10K::Git.settings[:repositories] = value } with_setting(:oauth_token) { |value| R10K::Git.settings[:oauth_token] = value } with_setting(:github_app_id) { |value| R10K::Git.settings[:github_app_id] = value } with_setting(:github_app_key) { |value| R10K::Git.settings[:github_app_key] = value } with_setting(:github_app_ttl) { |value| R10K::Git.settings[:github_app_ttl] = value } end |