fixed commit
This commit is contained in:
@@ -7,7 +7,7 @@ class ChampionModule < SightstoneBaseModule
|
||||
@sightstone = sightstone
|
||||
end
|
||||
|
||||
def champions(, optional={})
|
||||
def champions(optional={})
|
||||
region = optional[:region] || @sightstone.region
|
||||
free_to_play = optional[:free_to_play]
|
||||
uri = "https://prod.api.pvp.net/api/lol/#{region}/v1.1/champion"
|
||||
|
||||
@@ -8,8 +8,8 @@ class StatsModule < SightstoneBaseModule
|
||||
@sightstone = sightstone
|
||||
end
|
||||
|
||||
def summary(summoner, , optional={})
|
||||
region = optional[:region] || @sightstone.region)
|
||||
def summary(summoner, optional={})
|
||||
region = optional[:region] || @sightstone.region
|
||||
season = optional[:season]
|
||||
|
||||
id = if summoner.is_a? Summoner
|
||||
|
||||
Reference in New Issue
Block a user