methods updated for compatibility to 'octokit' gem