Module: Twitch::Client::Games

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

Overview

API method for games

Instance Method Summary collapse

Instance Method Details

#get_game_analytics(options = {}) ⇒ Object



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

def get_game_analytics(options = {})
  initialize_response GameAnalytic, get('analytics/games', options)
end

#get_games(options = {}) ⇒ Object



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

def get_games(options = {})
  initialize_response Game, get('games', options)
end

#get_top_games(options = {}) ⇒ Object



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

def get_top_games(options = {})
  initialize_response Game, get('games/top', options)
end