Tentacat v1.6.0 Tentacat.Projects View Source
Link to this section Summary
Link to this section Functions
Link to this function
delete(client, id)
View Source
delete(client, id)
View Source
delete(Tentacat.Client.t(), binary()) :: Tentacat.response()
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
Link to this function
find(client, id)
View Source
find(client, id)
View Source
find(Tentacat.Client.t(), binary()) :: Tentacat.response()
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
Link to this function
update(client, id, options)
View Source
update(client, id, options)
View Source
update(Tentacat.Client.t(), binary(), Keyword.t()) :: Tentacat.response()
update(Tentacat.Client.t(), binary(), Keyword.t()) :: 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
Tentcat.Projects.update client, [name: "My Board", private: true]
More info at: https://developer.github.com/v3/projects/#update-a-project