module Taric::Operation::Spectator
Constants
- CURRENT_GAME_V3
- FEATURED_GAMES_V3
Public Instance Methods
current_game(summoner_id: )
click to toggle source
Returns current game data for summoner id.
@see developer.riotgames.com/api-methods/#spectator-v3/GET_getCurrentGameInfoBySummoner @param summoner_id [Fixnum] ID of summoner @return [Response] current game
# File lib/taric/operation/spectator.rb, line 14 def current_game(summoner_id: ) response_for CURRENT_GAME_V3, {summonerId: summoner_id} end
featured_games()
click to toggle source
@see developer.riotgames.com/api-methods/#spectator-v3/GET_getFeaturedGames
# File lib/taric/operation/spectator.rb, line 20 def featured_games response_for FEATURED_GAMES_V3 end