gofigr_make_handler {gofigR}R Documentation

Wraps an HTTR method e.g. GET to provide relative URL resolution and authentication

Description

Wraps an HTTR method e.g. GET to provide relative URL resolution and authentication

Usage

gofigr_make_handler(name, method)

Arguments

name

method name, e.g. "GET"

method

HTTR method, e.g. httr::GET

Value

wrapped method which takes a GoFigr client, a relative URL and an expected HTTP status code.


[Package gofigR version 0.3.1 Index]