Module: Hextech::League::Clash
- Defined in:
- lib/hextech/league/clash.rb,
lib/hextech/league/clash/base.rb,
lib/hextech/league/clash/by_summoner_id.rb,
lib/hextech/league/clash/all_tournaments.rb,
lib/hextech/league/clash/team_by_team_id.rb,
lib/hextech/league/clash/by_tournament_id.rb,
lib/hextech/league/clash/tournament_by_team_id.rb
Defined Under Namespace
Classes: AllTournaments, Base, BySummonerId, ByTournamentId, TeamByTeamId, TournamentByTeamId
Class Method Summary
collapse
Class Method Details
.all_tournaments(region: 'euw1') ⇒ Object
15
16
17
|
# File 'lib/hextech/league/clash.rb', line 15
def all_tournaments(region: 'euw1')
Clash::AllTournaments.call(region: region)
end
|
.by_summoner_id(summoner_id:, region: 'euw1') ⇒ Object
19
20
21
|
# File 'lib/hextech/league/clash.rb', line 19
def by_summoner_id(summoner_id:, region: 'euw1')
Clash::BySummonerId.call(summoner_id: summoner_id, region: region)
end
|
.by_tournament_id(tournament_id:, region: 'euw1') ⇒ Object
23
24
25
|
# File 'lib/hextech/league/clash.rb', line 23
def by_tournament_id(tournament_id:, region: 'euw1')
Clash::ByTournamentId.call(tournament_id: tournament_id, region: region)
end
|
.team_by_team_id(team_id:, region: 'euw1') ⇒ Object
27
28
29
|
# File 'lib/hextech/league/clash.rb', line 27
def team_by_team_id(team_id:, region: 'euw1')
Clash::TeamByTeamId.call(team_id: team_id, region: region)
end
|
.tournament_by_team_id(team_id:, region: 'euw1') ⇒ Object
31
32
33
|
# File 'lib/hextech/league/clash.rb', line 31
def tournament_by_team_id(team_id:, region: 'euw1')
Clash::TournamentByTeamId.call(team_id: team_id, region: region)
end
|