Class: R10K::Initializers::GitInitializer
- Inherits:
-
BaseInitializer
- Object
- BaseInitializer
- R10K::Initializers::GitInitializer
- Defined in:
- lib/r10k/initializers.rb
Constant Summary
Constants included from Logging
Instance Method Summary collapse
Methods inherited from BaseInitializer
Methods included from Logging
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
52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/r10k/initializers.rb', line 52 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 |