Class: NetRecorder::Config
- Inherits:
-
Object
- Object
- NetRecorder::Config
- Defined in:
- lib/config.rb
Instance Attribute Summary collapse
-
#cache_file ⇒ Object
path to the cache file.
-
#clear_cache ⇒ Object
clear the cache.
-
#fakeweb ⇒ Object
set to true to use fakeweb and the cache.
-
#record_net_calls ⇒ Object
set to true to record net requests and responses to the cache file.
Instance Attribute Details
#cache_file ⇒ Object
path to the cache file
9 10 11 |
# File 'lib/config.rb', line 9 def cache_file @cache_file end |
#clear_cache ⇒ Object
clear the cache
11 12 13 |
# File 'lib/config.rb', line 11 def clear_cache @clear_cache end |
#fakeweb ⇒ Object
set to true to use fakeweb and the cache
7 8 9 |
# File 'lib/config.rb', line 7 def fakeweb @fakeweb end |
#record_net_calls ⇒ Object
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 |