Class: VHS::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_hostObject

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_loadObject

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_writeObject

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_onObject

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