Class: FFlags::Configuration
- Inherits:
-
Object
- Object
- FFlags::Configuration
- Defined in:
- lib/fflags/configuration.rb
Overview
Configuration Class
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#key ⇒ Object
Returns the value of attribute key.
-
#redis_options ⇒ Object
Returns the value of attribute redis_options.
-
#redis_url ⇒ Object
Legacy support.
-
#templates ⇒ Object
Returns the value of attribute templates.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/fflags/configuration.rb', line 7 def initialize set_default_values end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
4 5 6 |
# File 'lib/fflags/configuration.rb', line 4 def debug @debug end |
#flags ⇒ Object
Returns the value of attribute flags.
4 5 6 |
# File 'lib/fflags/configuration.rb', line 4 def flags @flags end |
#key ⇒ Object
Returns the value of attribute key.
4 5 6 |
# File 'lib/fflags/configuration.rb', line 4 def key @key end |
#redis_options ⇒ Object
Returns the value of attribute redis_options.
4 5 6 |
# File 'lib/fflags/configuration.rb', line 4 def end |
#redis_url ⇒ Object
Legacy support
5 6 7 |
# File 'lib/fflags/configuration.rb', line 5 def redis_url @redis_url end |
#templates ⇒ Object
Returns the value of attribute templates.
4 5 6 |
# File 'lib/fflags/configuration.rb', line 4 def templates @templates end |