Class: RiotKit::Facades::Champions

Inherits:
Object
  • Object
show all
Defined in:
lib/riot_kit/facades/champions.rb

Class Method Summary collapse

Class Method Details

.find(query, registry: Registries::DataDragon.current) ⇒ Object



8
9
10
# File 'lib/riot_kit/facades/champions.rb', line 8

def self.find(query, registry: Registries::DataDragon.current)
  Services::DataDragon::FetchChampions.call(query: query, registry: registry).value!
end