Module: Hextech::League::Mastery
- Defined in:
- lib/hextech/league/mastery.rb,
lib/hextech/league/mastery/base.rb,
lib/hextech/league/mastery/by_champion.rb,
lib/hextech/league/mastery/total_score.rb,
lib/hextech/league/mastery/all_champions.rb
Defined Under Namespace
Classes: AllChampions, Base, ByChampion, TotalScore
Class Method Summary
collapse
Class Method Details
.all_champions(summoner_id:, region: 'euw1') ⇒ Object
13
14
15
|
# File 'lib/hextech/league/mastery.rb', line 13
def all_champions(summoner_id:, region: 'euw1')
Mastery::AllChampions.call(summoner_id: summoner_id, region: region)
end
|
.by_champion(summoner_id:, champion_id:, region: 'euw1') ⇒ Object
17
18
19
|
# File 'lib/hextech/league/mastery.rb', line 17
def by_champion(summoner_id:, champion_id:, region: 'euw1')
Mastery::ByChampion.call(summoner_id: summoner_id, champion_id: champion_id, region: region)
end
|
.total_score(summoner_id:, region: 'euw1') ⇒ Object
21
22
23
|
# File 'lib/hextech/league/mastery.rb', line 21
def total_score(summoner_id:, region: 'euw1')
Mastery::TotalScore.call(summoner_id: summoner_id, region: region)
end
|