Gullintanni v0.1.0 HardHat.Users

A wrapper for the Users entity.

https://docs.travis-ci.com/api/#users

Summary

Functions

Show the user identified by id

Trigger a new sync with GitHub

Show the authenticated user

Functions

show(client, id)
show(HardHat.Client.t, pos_integer) :: HardHat.response

Show the user identified by id.

Examples

HardHat.Users.show(client, 267)
sync(client)

Trigger a new sync with GitHub.

Examples

HardHat.Users.sync(client)
whoami(client)

Show the authenticated user.

Examples

HardHat.Users.whoami(client)