lib/gitlab/configuration.rb
# Resets all configuration options to the defaults.
Resets all configuration options to the defaults.
Resets all configuration options to the defaults .
def reset
      self.endpoint       = ENV['GITLAB_API_ENDPOINT']
      self.private_token  = ENV['GITLAB_API_PRIVATE_TOKEN']
      self.sudo           = nil
      self.user_agent     = DEFAULT_USER_AGENT
    end
def reset self . endpoint = ENV [ 'GITLAB_API_ENDPOINT' ] self . private_token = ENV [ 'GITLAB_API_PRIVATE_TOKEN' ] self . sudo = nil self . user_agent = DEFAULT_USER_AGENT end
Resets all configuration options to the defaults.
Resets all configuration options to the defaults .