Created
December 31, 2011 18:26
-
-
Save tbaba/1544858 to your computer and use it in GitHub Desktop.
introduce octokit gem
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
@client = Octokit::Client.new(login: YOUR_ACCOUNT_NAME, password: YOUR_PASSWORD) | |
@account = @client.user | |
@repos = @client.repos.select{|r| !r.private } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment