Module: RolloutControl
- Defined in:
- lib/rollout_control.rb,
lib/rollout_control/engine.rb,
lib/rollout_control/version.rb,
app/controllers/rollout_control/users_controller.rb,
app/controllers/rollout_control/groups_controller.rb,
app/controllers/rollout_control/features_controller.rb,
app/controllers/rollout_control/application_controller.rb
Defined Under Namespace
Classes: ApplicationController, Engine, FeaturesController, GroupsController, UsersController
Constant Summary
collapse
- VERSION =
'0.1.0'
Class Method Summary
collapse
Class Method Details
.basic_auth_password ⇒ Object
20
21
22
|
# File 'lib/rollout_control.rb', line 20
def self.basic_auth_password
@basic_auth_password ||= ENV['ROLLOUT_CONTROL_PASSWORD']
end
|
.basic_auth_password=(password) ⇒ Object
24
25
26
|
# File 'lib/rollout_control.rb', line 24
def self.basic_auth_password=(password)
@basic_auth_password = password
end
|
.basic_auth_username ⇒ Object
12
13
14
|
# File 'lib/rollout_control.rb', line 12
def self.basic_auth_username
@basic_auth_username ||= ENV['ROLLOUT_CONTROL_USERNAME']
end
|
.basic_auth_username=(username) ⇒ Object
16
17
18
|
# File 'lib/rollout_control.rb', line 16
def self.basic_auth_username=(username)
@basic_auth_username = username
end
|
36
37
38
|
# File 'lib/rollout_control.rb', line 36
def self.configure
yield self
end
|
.rollout ⇒ Object
4
5
6
|
# File 'lib/rollout_control.rb', line 4
def self.rollout
@rollout ||= $rollout
end
|
.rollout=(rollout_obj) ⇒ Object
8
9
10
|
# File 'lib/rollout_control.rb', line 8
def self.rollout=(rollout_obj)
@rollout = rollout_obj
end
|
.unprotected ⇒ Object
28
29
30
|
# File 'lib/rollout_control.rb', line 28
def self.unprotected
@unprotected ||= false
end
|
.unprotected=(flag) ⇒ Object
32
33
34
|
# File 'lib/rollout_control.rb', line 32
def self.unprotected=(flag)
@unprotected = flag
end
|