exvcr v0.10.3 ExVCR.Config
Assign configuration parameters.
Link to this section Summary
Functions
Initializes library dir to store cassette json files.
- vcr_dir: directory for storing recorded json file.
- custom_dir: directory for placing custom json file
Replace the specified request header with placeholder. It can be used to remove sensitive data from the casette file
Replace the specified request header with placeholder. It can be used to remove sensitive data from the casette file
Clear the previously specified filter_sensitive_data lists
Replace the specified pattern with placeholder. It can be used to remove sensitive data from the casette file
Set the flag whether to filter-out url params when recording to cassettes. (ex. if flag is true, “param=val” is removed from “http://example.com?param=val”)
Skip recording cassettes for localhost requests when set
Sets a list of headers to remove from the response
Link to this section Functions
Initializes library dir to store cassette json files.
- vcr_dir: directory for storing recorded json file.
- custom_dir: directory for placing custom json file.
Replace the specified request header with placeholder. It can be used to remove sensitive data from the casette file.
Replace the specified request header with placeholder. It can be used to remove sensitive data from the casette file.
Clear the previously specified filter_sensitive_data lists.
Replace the specified pattern with placeholder. It can be used to remove sensitive data from the casette file.
Set the flag whether to filter-out url params when recording to cassettes. (ex. if flag is true, “param=val” is removed from “http://example.com?param=val”).
Skip recording cassettes for localhost requests when set
Sets a list of headers to remove from the response