Module Gitlab::Configuration
In: lib/gitlab/configuration.rb

Defines constants and methods related to configuration.

Methods

configure   extended   options   reset  

Constants

VALID_OPTIONS_KEYS = [:endpoint, :private_token, :user_agent, :sudo, :httparty].freeze   An array of valid keys in the options hash when configuring a Gitlab::API.
DEFAULT_USER_AGENT = "Gitlab Ruby Gem #{Gitlab::VERSION}".freeze   The user agent that will be sent to the API endpoint if none is set.

External Aliases

private_token= -> auth_token=
  @private

Public Class methods

Sets all configuration options to their default values when this module is extended.

Public Instance methods

Convenience method to allow configuration options to be set in a block.

Creates a hash of options and their values.

Resets all configuration options to the defaults.

[Validate]