Class: VHS::Configuration
- Inherits:
-
Object
- Object
- VHS::Configuration
- Defined in:
- lib/vhs/configuration.rb
Instance Attribute Summary collapse
-
#api_host ⇒ Object
The sandbox host your test suite calls.
-
#log_load ⇒ Object
Should VHS log cassettes load.
-
#log_write ⇒ Object
Should VHS log cassettes write.
-
#turned_on ⇒ Object
Should VHS be turned on or off.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Configuration defaults.
Constructor Details
#initialize ⇒ Configuration
Configuration defaults
15 16 17 18 |
# File 'lib/vhs/configuration.rb', line 15 def initialize #TODO use this one on turn_on method @turned_on = true end |
Instance Attribute Details
#api_host ⇒ Object
The sandbox host your test suite calls. Must be set, lib/vhs.rb shows how.
6 7 8 |
# File 'lib/vhs/configuration.rb', line 6 def api_host @api_host end |
#log_load ⇒ Object
Should VHS log cassettes load. Defaults to false.
9 10 11 |
# File 'lib/vhs/configuration.rb', line 9 def log_load @log_load end |
#log_write ⇒ Object
Should VHS log cassettes write. Defaults to false.
12 13 14 |
# File 'lib/vhs/configuration.rb', line 12 def log_write @log_write end |
#turned_on ⇒ Object
Should VHS be turned on or off. Defaults to true = on.
3 4 5 |
# File 'lib/vhs/configuration.rb', line 3 def turned_on @turned_on end |