exvcr v0.10.3 ExVCR.JSON
Provides a feature to store/load cassettes in json format.
Link to this section Summary
Functions
Loads the JSON files based on the fixture name and options. For options, this method just refers to the :custom attribute is set or not
Reads and parse the json file located at the specified file_name
Save responses into the json file
Link to this section Functions
Link to this function
load(file_name, custom_mode, adapter)
Loads the JSON files based on the fixture name and options. For options, this method just refers to the :custom attribute is set or not.
Link to this function
read_json_file(file_name)
Reads and parse the json file located at the specified file_name.
Link to this function
save(file_name, recordings)
Save responses into the json file.