class R10K::Initializers::GitInitializer

Public Instance Methods

call() click to toggle source
# 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