exposed avatar_url

This commit is contained in:
Kohsuke Kawaguchi
2012-04-10 12:43:59 -07:00
parent bbc42f8898
commit 3a9b6665ee

View File

@@ -58,11 +58,22 @@ public abstract class GHPerson {
/**
* Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105
*
* @deprecated
* No longer available in the v3 API.
*/
public String getGravatarId() {
return gravatar_id;
}
/**
* Returns a string like 'https://secure.gravatar.com/avatar/0cb9832a01c22c083390f3c5dcb64105'
* that indicates the avatar image URL.
*/
public String getAvatarUrl() {
return avatar_url;
}
/**
* Gets the login ID of this user, like 'kohsuke'
*/