module Taric::Operation::ChampionMastery

Constants

BASE_MASTERY_URL
MASTERY_ALL_CHAMPIONS
MASTERY_BY_CHAMPION_ID
MASTERY_SCORE

Public Instance Methods

champion_masteries(summoner_id: ) click to toggle source
# File lib/taric/operation/champion_mastery.rb, line 16
def champion_masteries(summoner_id: )
  response_for MASTERY_ALL_CHAMPIONS, {summonerId: summoner_id}
end
champion_mastery(summoner_id: , champion_id:) click to toggle source
# File lib/taric/operation/champion_mastery.rb, line 12
def champion_mastery(summoner_id: , champion_id:)
  response_for MASTERY_BY_CHAMPION_ID, {summonerId: summoner_id, championId: champion_id}
end
champion_mastery_score(summoner_id: ) click to toggle source
# File lib/taric/operation/champion_mastery.rb, line 20
def champion_mastery_score(summoner_id: )
  response_for MASTERY_SCORE, {summonerId: summoner_id}
end