View Source Tentacat.Projects (Tentacat v2.5.0)

Summary

Functions

Delete a project.

Get a single project.

Update the project.

Functions

@spec delete(Tentacat.Client.t(), binary()) :: Tentacat.response()

Delete a project.

Example

Tentacat.Projects.delete client, 12345

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

Get a single project.

Example

Tentacat.Projects.find client, 12345

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

Link to this function

update(client, id, options)

View Source
@spec update(Tentacat.Client.t(), binary(), map()) :: Tentacat.response()

Update the project.

Possible values for options:

  • name: "name of project"
  • body: "description of project"
  • state: "open"
  • organization_permission: "read"
  • private: true

Example

Tentacat.Projects.update client, %{name: "My Board", private: true}

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