Module: Twitch::Client::Extensions
- Included in:
- Twitch::Client
- Defined in:
- lib/twitch/client/extensions.rb
Overview
API methods for extensions
Instance Method Summary collapse
- #get_user_active_extensions(options = {}) ⇒ Object
- #get_user_extensions(options = {}) ⇒ Object
- #update_user_extensions(options = {}) ⇒ Object
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( = {}) initialize_response ExtensionsByTypes, get('users/extensions', ) end |
#get_user_extensions(options = {}) ⇒ Object
7 8 9 |
# File 'lib/twitch/client/extensions.rb', line 7 def get_user_extensions( = {}) initialize_response Extension, get('users/extensions/list', ) end |
#update_user_extensions(options = {}) ⇒ Object
15 16 17 |
# File 'lib/twitch/client/extensions.rb', line 15 def update_user_extensions( = {}) initialize_response ExtensionsByTypes, put('users/extensions', ) end |