Module: Twitch::Client::Extensions

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

Overview

API methods for extensions

Instance Method Summary collapse

Instance Method Details

#get_user_active_extensions(options = {}) ⇒ Object



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

def get_user_active_extensions(options = {})
  initialize_response ExtensionsByTypes, get('users/extensions', options)
end

#get_user_extensions(options = {}) ⇒ Object



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

def get_user_extensions(options = {})
  initialize_response Extension, get('users/extensions/list', options)
end

#update_user_extensions(options = {}) ⇒ Object



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

def update_user_extensions(options = {})
  initialize_response ExtensionsByTypes, put('users/extensions', options)
end