Module: Hextech::League::Spectator

Defined in:
lib/hextech/league/spectator.rb,
lib/hextech/league/spectator/base.rb,
lib/hextech/league/spectator/active_games.rb,
lib/hextech/league/spectator/featured_games.rb

Defined Under Namespace

Classes: ActiveGames, Base, FeaturedGames

Class Method Summary collapse

Class Method Details

.active_games(summoner_id:, region: 'euw1') ⇒ Object



12
13
14
# File 'lib/hextech/league/spectator.rb', line 12

def active_games(summoner_id:, region: 'euw1')
  Spectator::ActiveGames.call(summoner_id: summoner_id, region: region)
end


16
17
18
# File 'lib/hextech/league/spectator.rb', line 16

def featured_games(region: 'euw1')
  Spectator::FeaturedGames.call(region: region)
end