code_corps v0.0.1 CodeCorps.GitHub.API.Gateway View Source
The gate through which all communication with the GitHub API must go through.
The purpose of this module is to centralize the most basic GitHub API request, so the module can be injected into tests easily, giving full control to what the tested response is.
Link to this section Summary
Link to this section Functions
Link to this function
request(method, url, body, headers, options)
View Source
request(CodeCorps.GitHub.method(), String.t(), CodeCorps.GitHub.body(), CodeCorps.GitHub.headers(), list()) :: CodeCorps.GitHub.response()