Class: LevelUp::Configuration

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

Constant Summary collapse

DEFAULT_HTTP_LOGIN =
'admin'
DEFAULT_HTTP_PASSWORD =
'password'
DEFAULT_BACKTRACE_SIZE =
5

Class Method Summary collapse

Class Method Details

.backtrace_sizeObject



31
32
33
# File 'lib/level_up/configuration.rb', line 31

def self.backtrace_size
  @backtrace_size ||= DEFAULT_BACKTRACE_SIZE
end

.backtrace_size=(size) ⇒ Object



35
36
37
# File 'lib/level_up/configuration.rb', line 35

def self.backtrace_size=(size)
  @backtrace_size = size
end

.http_authenticationObject



7
8
9
# File 'lib/level_up/configuration.rb', line 7

def self.http_authentication
  @http_authentication ||= false
end

.http_authentication=(bool) ⇒ Object



11
12
13
# File 'lib/level_up/configuration.rb', line 11

def self.http_authentication=(bool)
  @http_authentication = bool
end

.http_loginObject



15
16
17
# File 'lib/level_up/configuration.rb', line 15

def self.
  @http_login ||= DEFAULT_HTTP_LOGIN
end

.http_login=(login) ⇒ Object



19
20
21
# File 'lib/level_up/configuration.rb', line 19

def self.http_login=()
  @http_login = 
end

.http_passwordObject



23
24
25
# File 'lib/level_up/configuration.rb', line 23

def self.http_password
  @http_password ||= DEFAULT_HTTP_PASSWORD
end

.http_password=(password) ⇒ Object



27
28
29
# File 'lib/level_up/configuration.rb', line 27

def self.http_password=(password)
  @http_password = password
end