exvcr v0.9.1 ExVCR.Recorder
Provides data saving/loading capability for HTTP interactions.
Link to this section Summary
Functions
Returns the file path of the save/load target, based on the custom_mode(true or false)
Load record-data from json file
Provides entry point to be called from :meck library. HTTP request arguments are specified as args parameter. If response is not found in the cache, access to the server
Save record-data into json file
Initialize recorder
Link to this section Functions
Link to this function
append(recorder, x)
Link to this function
get(recorder)
Link to this function
get_file_path(recorder)
Returns the file path of the save/load target, based on the custom_mode(true or false).
Link to this function
load_from_json(recorder)
Load record-data from json file.
Link to this function
options(recorder)
Link to this function
pop(recorder)
Link to this function
request(recorder, request)
Provides entry point to be called from :meck library. HTTP request arguments are specified as args parameter. If response is not found in the cache, access to the server.
Link to this function
save(recorder)
Save record-data into json file.
Link to this function
set(responses, recorder)
Link to this function
start(options)
Initialize recorder.
Link to this function
update(recorder, finder, updater)