22
33is a Ruby client of [ Yo] ( http://www.justyo.co/ ) .
44[ ![ Build Status] ( https://travis-ci.org/youcune/yo_client.svg?branch=master )] ( https://travis-ci.org/youcune/yo_client )
5- [ ![ Coverage Status] ( https://coveralls.io/repos/youcune/yo_client/badge.png )] ( https://coveralls.io/r/youcune/yo_client )
65
76## Requirements
87
@@ -31,10 +30,16 @@ client = YoClient::Client.new(API_TOKEN)
3130# Yo all subscribers
3231client.yoall
3332
34- # Yo specific user
33+ # Yo all subscribers with a link (added from v0.1.0)
34+ client.yoall(link: 'http://youcune.com/')
35+
36+ # Yo the specific user
3537# Note that USERNAME will be upcased before sending to API
3638client.yo(USERNAME)
3739
40+ # Yo the specific user with a link (added from v0.1.0)
41+ client.yoall(USERNAME, link: 'http://youcune.com/')
42+
3843# Count Total Subscribers
3944client.subscribers_count # -> 5
4045```
@@ -46,20 +51,20 @@ client.subscribers_count # -> 5
4651
4752At the date of 13th July, even if API results in failure, it sometimes behaves as if it succeed. In this case, YoClient cannot tell succeeded or not.
4853
49- ## Contributing
50-
51- 1 . Fork it ( https://github.com/youcune/yo_client/fork )
52- 2 . Create your feature branch (` git checkout -b my-new-feature ` )
53- 3 . Commit your changes (` git commit -am 'Add some feature' ` )
54- 4 . Push to the branch (` git push origin my-new-feature ` )
55- 5 . Create a new Pull Request
56-
57- ## Yo the author
54+ ## Yo the developer
5855
59- [ Yo YOUCUNE] ( http://justyo.co/YOUCUNE ) , author of YoClient, if you ...
56+ [ Yo YOUCUNE] ( http://justyo.co/YOUCUNE ) , the developer of YoClient, if you ...
6057
6158* like YoClient
6259* dislike YoClient
6360* have any ideas about YoClient
6461
6562Thanks.
63+
64+ ## Contributing
65+
66+ 1 . Fork it ( https://github.com/youcune/yo_client/fork )
67+ 2 . Create your feature branch (` git checkout -b my-new-feature ` )
68+ 3 . Commit your changes (` git commit -am 'Add some feature' ` )
69+ 4 . Push to the branch (` git push origin my-new-feature ` )
70+ 5 . Create a new Pull Request
0 commit comments