module VCR::LibraryHooks::Typhoeus

def vcr_response_from(response)

def vcr_response_from(response)
  VCR::Response.new \
    VCR::ResponseStatus.new(response.code, response.status_message),
    response.headers,
    response.body,
    response.http_version,
    { "effective_url" => response.effective_url }
end