Class: LevelUp::Configuration
- Inherits:
-
Object
- Object
- LevelUp::Configuration
- Defined in:
- lib/level_up/configuration.rb
Class Method Summary collapse
- .http_authentication ⇒ Object
- .http_authentication=(bool) ⇒ Object
- .http_login ⇒ Object
- .http_login=(login) ⇒ Object
- .http_password ⇒ Object
- .http_password=(password) ⇒ Object
Class Method Details
.http_authentication ⇒ Object
3 4 5 |
# File 'lib/level_up/configuration.rb', line 3 def self.http_authentication @http_authentication ||= false end |
.http_authentication=(bool) ⇒ Object
7 8 9 |
# File 'lib/level_up/configuration.rb', line 7 def self.http_authentication=(bool) @http_authentication = bool end |
.http_login ⇒ Object
11 12 13 |
# File 'lib/level_up/configuration.rb', line 11 def self.http_login @http_login ||= 'admin' end |
.http_login=(login) ⇒ Object
15 16 17 |
# File 'lib/level_up/configuration.rb', line 15 def self.http_login=(login) @http_login = login end |
.http_password ⇒ Object
19 20 21 |
# File 'lib/level_up/configuration.rb', line 19 def self.http_password @http_password ||= 'password' end |
.http_password=(password) ⇒ Object
23 24 25 |
# File 'lib/level_up/configuration.rb', line 23 def self.http_password=(password) @http_password = password end |