Class: LevelUp::Configuration
- Inherits:
-
Object
- Object
- LevelUp::Configuration
- 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
- .backtrace_size ⇒ Object
- .backtrace_size=(size) ⇒ Object
- .http_authentication ⇒ Object
- .http_authentication=(bool) ⇒ Object
- .http_login ⇒ Object
- .http_login=(login) ⇒ Object
- .http_password ⇒ Object
- .http_password=(password) ⇒ Object
Class Method Details
.backtrace_size ⇒ Object
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_authentication ⇒ Object
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_login ⇒ Object
15 16 17 |
# File 'lib/level_up/configuration.rb', line 15 def self.http_login @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=(login) @http_login = login end |
.http_password ⇒ Object
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 |