game module
This commit is contained in:
@@ -6,7 +6,7 @@ class ChampionModule
|
||||
@sightstone = sightstone
|
||||
end
|
||||
|
||||
def get_champions(free_to_play=false)
|
||||
def champions(free_to_play=false)
|
||||
uri = "https://prod.api.pvp.net/api/lol/#{@sightstone.region}/v1.1/champion"
|
||||
response = _get_api_response(uri, {'freeToPlay' => free_to_play})
|
||||
puts response
|
||||
|
||||
Reference in New Issue
Block a user