View Source Tentacat.Users.Emails (Tentacat v2.4.0)
Summary
Functions
Add email address(es).
List email addresses for the authenticated user.
Delete email address(es).
Functions
@spec create(Tentacat.Client.t(), [binary()]) :: Tentacat.response()
Add email address(es).
Example
Tentacat.Users.Emails.create client, ["ed@gurgel.me"]
More info at: http://developer.github.com/v3/users/emails/#add-email-addresses
@spec list(Tentacat.Client.t()) :: Tentacat.response()
List email addresses for the authenticated user.
Example
Tentacat.Users.Emails.list client
More info at: http://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user
@spec remove(Tentacat.Client.t(), [binary()]) :: Tentacat.response()
Delete email address(es).
Example
Tentacat.Users.Emails.remove client, ["ed@gurgel.me"]
More info at: http://developer.github.com/v3/users/emails/#delete-email-addresses