class Github::Client::Repos
def get_by_id(*args)
github.repos(id: 'repo-id').get_by_id
github.repos.get_by_id id: 'repo-id'
github.repos.get_by_id 'repo-id'
github = Github.new
@example
Get a repository
def get_by_id(*args) arguments(args, required: [:id]) get_request("/repositories/#{arguments.id}", arguments.params) end