module Taric::Operation::Spectator

Constants

CURRENT_GAME_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