huboard / ghee

This is an unofficial ruby client for the Github API. The end goal is a complete, simple, and intuitive ruby API for all things Github.
http://documentup.com/huboard/ghee
MIT License
161 stars 51 forks source link

wrong number of arguments (1 for 0) #36

Open datomnurdin opened 8 years ago

datomnurdin commented 8 years ago

I got this error message when trying to get list

wrong number of arguments (1 for 0)

Code

gh.user('datomnurdin').gists

Please advice. Thank you.

discorick commented 8 years ago

Hi @datomnurdin, use gh.user.gists to get gists for the owner of the credentials you are using.

I believe you can also do gh.gists(user) as well.