Closed jasondcamp closed 12 years ago
Fantastic, thanks. I'm gonna write a small test for this, then I'll publish a new version.
I'm thinking I'm going to change the variable name, to avoid a potential collision with the GitHub web address (www.github.com
). How does HUBOT_GITHUB_API
sound? Alternatively we could do HUBOT_GITHUB_API_URL
, but that just seems too long.
Aaaand landed, v0.2.0. Thanks again, I'm pumped about this. Such a cool bonus feature that I never anticipated.
This makes use of the HUBOT_GITHUB_URL variable to override the default API location. If the variable doesn't exist, it defaults to https://api.github.com/