exvcr v0.12.0 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_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)

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.

Link to this function

set(responses, recorder)

Initialize recorder.

Link to this function

update(recorder, finder, updater)