exvcr v0.9.1 ExVCR.Adapter.Hackney

Provides adapter methods to mock :hackney methods.

Link to this section Summary

Functions

Default definitions for stub

Generate key for searching response

Returns the response from the ExVCR.Reponse record

Callback from ExVCR.Handler when response is retrieved from the json file cache

Callback from ExVCR.Handler when response is retrieved from the HTTP server

Returns the name of the mock target module

Returns list of the mock target methods with function name and callback

Link to this section Functions

Link to this function default_stub_params(atom)

Default definitions for stub.

Link to this function generate_keys_for_request(request)

Generate key for searching response.

Link to this function get_response_value_from_cache(response)

Returns the response from the ExVCR.Reponse record.

Link to this function hook_response_from_cache(arg1, response)

Callback from ExVCR.Handler when response is retrieved from the json file cache.

Link to this function hook_response_from_server(response)

Callback from ExVCR.Handler when response is retrieved from the HTTP server.

Returns the name of the mock target module.

Link to this function target_methods(recorder)

Returns list of the mock target methods with function name and callback.