README.md in coder_wally-1.0.0 vs README.md in coder_wally-1.0.1
- old
+ new
@@ -35,21 +35,26 @@
ruby -Ilib bin/coder_wally <username>
In order to get a user's badges, you do this:
- client = CoderWally::Client.new
- client.get_badges_for <username>
+ client = CoderWally::Client.new(<username>)
+ client.user.badges
In order to get a user's details, you do this:
- client = CoderWally::Client.new
- client.get_details_for <username>
+ client = CoderWally::Client.new(<username>)
+ client.user.details
-In order to get everything (for now user and badges), you do this:
+In order to get a user's accounts, you do this:
- client = CoderWally::Client.new
- client.get_everything_for <username>
+ client = CoderWally::Client.new(<username>)
+ client.user.accounts
+
+In order to get everything (for now user, accounts and badges), you do this:
+
+ client = CoderWally::Client.new(<username>)
+ client.user
## Contributing
1. Fork it ( https://github.com/gregstewart/coder_wally/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)