View Source Tentacat.Users.Projects (Tentacat v2.4.0)

Summary

Functions

Create a new project for the authenticated user via passing a client with necessary credentials.

Lists the projects for a user.

Functions

@spec create(Tentacat.Client.t(), list()) :: Tentacat.response()

Create a new project for the authenticated user via passing a client with necessary credentials.

Possible values for options:

  • [name: "name of project board"]
  • [body: "description of the project"]

Example

Tentacat.Users.Projects.create client, name: "tentacat", body: "project board for tentacat"

More info at: https://developer.github.com/v3/projects/#create-a-user-project

Lists the projects for a user.

Example

Tentacat.Organizations.Projects.list client, "achiurizo"

More info at: https://developer.github.com/v3/projects/#list-organization-projects