Class: StoredValues

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab_api.rb

Class Method Summary collapse

Class Method Details

.api_tokenObject



21
22
23
# File 'lib/gitlab_api.rb', line 21

def self.api_token
  @password ||= Rubiclifier::DB.get_setting("api_token")
end

.base_api_urlObject



9
10
11
# File 'lib/gitlab_api.rb', line 9

def self.base_api_url
  @base_api_url ||= Rubiclifier::DB.get_setting("base_api_url")
end

.team_nameObject



17
18
19
# File 'lib/gitlab_api.rb', line 17

def self.team_name
  @team_name ||= Rubiclifier::DB.get_setting("team_name")
end

.usernameObject



13
14
15
# File 'lib/gitlab_api.rb', line 13

def self.username
  @username ||= Rubiclifier::DB.get_setting("username")
end