Tentacat v0.7.2 Tentacat.Organizations
Summary
Functions
Get an organization
List all public organizations for a user
List public and private organizations for the authenticated user
Update an organization
Functions
Specs
find(binary, Tentacat.Client.t) :: Tentacat.response
Get an organization
Example
Tentacat.Orgnizations.find "Codeminer42"
Tentacat.Orgnizations.find "Codeminer42", client
More info at: http:\developer.github.com/v3/orgs/#get-an-organization
Specs
list(binary, Tentacat.Client.t) :: Tentacat.response
List all public organizations for a user
Example
Tentacat.Organizations.list "edgurgel"
Tentacat.Organizations.list "edgurgel", client
More info at: http:\developer.github.com/v3/orgs/#list-user-organizations
Specs
list_mine(Tentacat.Client.t) :: Tentacat.response
List public and private organizations for the authenticated user
Example
Tentacat.Organizations.list_mine client
More info at: http:\developer.github.com/v3/orgs/#list-user-organizations
Specs
update(binary, list, Tentacat.Client.t) :: Tentacat.response
Update an organization
Possible values for options
:
- [billing_email: "billing email"]
- [company: "Company42"]
- [email: "public email"]
- [location: "Brazil"]
- [name: "company42"]
Example
Tentacat.Organizations.update("codeminer42", [email: "public@codeminer42.com", location: "São Paulo"], client)
More info at: http:\developer.github.com/v3/orgs/#edit-an-organization