inst/httptest/redact.R

function (response) {
    require(magrittr, quietly=TRUE)
    response %>%
        redact_headers("X-TrackerToken") %>%
        gsub_response("https://www.pivotaltracker.com/services/v5/", "", fixed=TRUE) %>%
        gsub_response(getOption("pivotal.project"), "123")
}

Try the pivotaltrackR package in your browser

Any scripts or data that you put into this service are public.

pivotaltrackR documentation built on Jan. 20, 2018, 9:23 a.m.