I am trying to get sorted repository list, but it seems the request is not considering other params that I passed to the repos object. I am getting a default list all the time which is sorted by full_name.
PFB my code -
github.repos(user: user_name, repo: repo_name, sort: 'pushed', direction: 'desc')
Note: github is an object of Github::Client