set_gitlab_connection: Get/set a gitlab connection for all calls

Description Usage Arguments Examples

View source: R/global_env.R

Description

This sets the default value of gitlab_con in a call to gitlab

Usage

1
2
3

Arguments

gitlab_con

A function used for gitlab API calls, such as gitlab or as returned by gl_connection.

...

if gitlab_con is NULL, a new connection is created used the parameters is ... using gl_connection

Examples

1
2
3
4
## Not run: 
set_gitlab_connection("http://gitlab.example.com", private_token = "123####89")

## End(Not run)

jirkalewandowski/gitlabr documentation built on May 19, 2019, 11:37 a.m.