Module: Twitch::Client::Users
- Included in:
- Twitch::Client
- Defined in:
- lib/twitch/client/users.rb
Overview
API method for users
Instance Method Summary collapse
- #get_users(options = {}) ⇒ Object
- #get_users_follows(options = {}) ⇒ Object
- #update_user(options = {}) ⇒ Object
Instance Method Details
#get_users(options = {}) ⇒ Object
11 12 13 |
# File 'lib/twitch/client/users.rb', line 11 def get_users( = {}) initialize_response User, get('users', ) end |
#get_users_follows(options = {}) ⇒ Object
7 8 9 |
# File 'lib/twitch/client/users.rb', line 7 def get_users_follows( = {}) initialize_response UserFollow, get('users/follows', ) end |
#update_user(options = {}) ⇒ Object
15 16 17 |
# File 'lib/twitch/client/users.rb', line 15 def update_user( = {}) initialize_response User, put('users', ) end |