simplifying github data class with octokit gem