Class: NetRecorder::Config

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

Instance Attribute Summary collapse

Instance Attribute Details

#cache_fileObject

path to the cache file



9
10
11
# File 'lib/config.rb', line 9

def cache_file
  @cache_file
end

#clear_cacheObject

clear the cache



11
12
13
# File 'lib/config.rb', line 11

def clear_cache
  @clear_cache
end

#fakewebObject

set to true to use fakeweb and the cache



7
8
9
# File 'lib/config.rb', line 7

def fakeweb
  @fakeweb
end

#record_net_callsObject

set to true to record net requests and responses to the cache file



5
6
7
# File 'lib/config.rb', line 5

def record_net_calls
  @record_net_calls
end