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
require 'json' | |
require 'httparty' | |
class Github | |
include HTTParty | |
base_uri 'http://github.com/api/v2/json' | |
# @param [String] username GitHub username | |
# @param [String] password Password or API token | |
def initialize(username, password) |
NewerOlder