lib/index.js
function GhPolyglot (input, token, host) {
    var splits = input.split("/");
    this.user = splits[0];
    this.repo = splits[1];
    this.full_name = input;
    this.gh = new GitHub({ token: token, host: host });
}
function GhPolyglot (input, token, host) {
    var splits = input.split("/");
    this.user = splits[0];
    this.repo = splits[1];
    this.full_name = input;
    this.gh = new GitHub({ token: token, host: host });
}
function GhPolyglot ( input , token , host ) { var splits = input . split ( "/" ) ; this . user = splits [ 0 ] ; this . repo = splits [ 1 ] ; this . full_name = input ; this . gh = new GitHub ( { token : token , host : host } ) ; }
GhPolyglot
Creates a new instance of `GhPolyglot`.

@name GhPolyglot
@function
@param {String} input The repository full name
(e.g. `"IonicaBizau/gh-polyglot"`) or the username (e.g. `"IonicaBizau"`).
@param {String} token An optional GitHub token used for making
authenticated requests.
@param {String} host An optional alternative Github FQDN (e.g. `"https://github.myenterprise.com/api/v3/"`)
@return {GhPolyglot} The `GhPolyglot` instance.
GhPolyglot Creates a new instance of GhPolyglot .