Module: Twitch::Client::Users

Included in:
Twitch::Client
Defined in:
lib/twitch/client/users.rb

Overview

API method for users

Instance Method Summary collapse

Instance Method Details

#get_users(options = {}) ⇒ Object



11
12
13
# File 'lib/twitch/client/users.rb', line 11

def get_users(options = {})
  initialize_response User, get('users', options)
end

#get_users_follows(options = {}) ⇒ Object



7
8
9
# File 'lib/twitch/client/users.rb', line 7

def get_users_follows(options = {})
  initialize_response UserFollow, get('users/follows', options)
end

#update_user(options = {}) ⇒ Object



15
16
17
# File 'lib/twitch/client/users.rb', line 15

def update_user(options = {})
  initialize_response User, put('users', options)
end