use github_api_uri method instead of hardcoded github api uri.
Merge pull request #16 from chobie/support-ghe

use github_api_uri method instead of hardcoded github api uri.