Tentacat v2.2.0 Tentacat.Projects View Source
Link to this section Summary
Link to this section Functions
Link to this function
delete(client, id)
View Sourcedelete(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
Link to this function
find(client, id)
View Sourcefind(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
Link to this function
update(client, id, options)
View Sourceupdate(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