Created
November 29, 2011 00:11
-
-
Save hannahherbig/1402723 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> o = GitHub.org('github') | |
=> #<GitHub::Organization avatar_url="https://secure.gravatar.com/avatar/61024896f291303615bcd4f7a0dcfb74?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png" blog="https://github.com/about" company=nil created_at="2008-05-11T04:37:31Z" email="support@github.com" followers=622 following=0 html_url="https://github.com/github" id=9919 location="San Francisco, CA" login="github" name="GitHub" public_gists=0 public_repos=36 type="Organization" url="https://api.github.com/orgs/github"> | |
>> o.login | |
=> "github" | |
>> o.id | |
=> 9919 | |
>> o.company | |
=> nil # yes, this is right. it's nil above, which is what the api returns for whatever reason | |
>> o.type | |
=> "Organization" | |
>> o.followers | |
=> 622 | |
>> o.location | |
=> "San Francisco, CA" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment