View Source Tentacat.Projects (Tentacat v2.4.0)
Summary
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
@spec find(Tentacat.Client.t(), binary()) :: Tentacat.response()
Get a single project
.
Example
Tentacat.Projects.find client, 12345
More info at: https://developer.github.com/v3/projects/#get-a-project
@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