Class: Que::View::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_passwordObject

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_environmentsObject

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_usernameObject

Returns the value of attribute ui_username.



6
7
8
# File 'lib/que/view/configuration.rb', line 6

def ui_username
  @ui_username
end