Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement User Emails API #356

Closed
wants to merge 1 commit into from
Closed

Implement User Emails API #356

wants to merge 1 commit into from

Conversation

vktr
Copy link
Contributor

@vktr vktr commented Jan 31, 2014

I've added code, tests and integration test for adding email addresses to user accounts (#341).

If someone can clarify the API for me on how to delete email adresses (http://developer.github.com/v3/users/emails/#delete-email-addresses) then I can do that as well.

/// </summary>
/// <param name="emails">The email adresses to add.</param>
/// <returns>A read only list of the added email adresses.</returns>
Task<EmailAddress[]> AddEmailsToCurrent(params string[] emails);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We never return arrays. That should be an IReadOnlyList<EmailAddress>

@shiftkey
Copy link
Member

Looks like we've had some overlap with #323, which I've just merged into master.

I've left the DELETE task open here #366 as there's a couple of questions about it.

@shiftkey shiftkey closed this Feb 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants