Class: RiotKit::Services::DataDragon::FetchSummonerSpells

Inherits:
Base
  • Object
show all
Defined in:
lib/riot_kit/services/data_dragon/fetch_summoner_spells.rb

Instance Method Summary collapse

Methods inherited from Base

call, #call, steps

Constructor Details

#initialize(spell_id:, registry: Registries::DataDragon.current) ⇒ FetchSummonerSpells

Returns a new instance of FetchSummonerSpells.



13
14
15
16
# File 'lib/riot_kit/services/data_dragon/fetch_summoner_spells.rb', line 13

def initialize(spell_id:, registry: Registries::DataDragon.current)
  @spell_id = spell_id
  @registry = registry
end