Class: Que::View::Configuration
- Inherits:
-
Object
- Object
- Que::View::Configuration
- Defined in:
- lib/que/view/configuration.rb
Instance Attribute Summary collapse
-
#ui_password ⇒ Object
Returns the value of attribute ui_password.
-
#ui_secured_environments ⇒ Object
Returns the value of attribute ui_secured_environments.
-
#ui_username ⇒ Object
Returns the value of attribute ui_username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 14 |
# File 'lib/que/view/configuration.rb', line 8 def initialize # It's required to specify these 3 variables to enable basic auth to UI @ui_username = '' @ui_password = '' # Secured environments variable must directly contains environment names @ui_secured_environments = [] end |
Instance Attribute Details
#ui_password ⇒ Object
Returns the value of attribute ui_password.
6 7 8 |
# File 'lib/que/view/configuration.rb', line 6 def ui_password @ui_password end |
#ui_secured_environments ⇒ Object
Returns the value of attribute ui_secured_environments.
6 7 8 |
# File 'lib/que/view/configuration.rb', line 6 def ui_secured_environments @ui_secured_environments end |
#ui_username ⇒ Object
Returns the value of attribute ui_username.
6 7 8 |
# File 'lib/que/view/configuration.rb', line 6 def ui_username @ui_username end |