exvcr v0.8.10 ExVCR.Recorder

Provides data saving/loading capability for HTTP interactions.

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

Functions

append(recorder, x)
get(recorder)
get_file_path(recorder)

Returns the file path of the save/load target, based on the custom_mode(true or false).

load_from_json(recorder)

Load record-data from json file.

options(recorder)
pop(recorder)
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.

save(recorder)

Save record-data into json file.

set(responses, recorder)
start(options)

Initialize recorder.

update(recorder, finder, updator)