lib/taric/operation/champion_mastery.rb in taric-1.0.0.pre.beta.0 vs lib/taric/operation/champion_mastery.rb in taric-1.0.0

- old
+ new

@@ -3,12 +3,12 @@ module Operation module ChampionMastery include Taric::Operation::Base BASE_MASTERY_URL = "https://{host}/lol/champion-mastery/v3" - MASTERY_ALL_CHAMPIONS = EndpointTemplate.new(template_url: "#{BASE_MASTERY_URL}/champion-masteries/by-summoner/{summonerId}{?api_key}") - MASTERY_BY_CHAMPION_ID = EndpointTemplate.new(template_url: "#{BASE_MASTERY_URL}/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}{?api_key}") - MASTERY_SCORE = EndpointTemplate.new(template_url: "#{BASE_MASTERY_URL}/scores/by-summoner/{summonerId}{?api_key}") + MASTERY_ALL_CHAMPIONS = EndpointTemplate.new(template_url: "#{BASE_MASTERY_URL}/champion-masteries/by-summoner/{summonerId}") + MASTERY_BY_CHAMPION_ID = EndpointTemplate.new(template_url: "#{BASE_MASTERY_URL}/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}") + MASTERY_SCORE = EndpointTemplate.new(template_url: "#{BASE_MASTERY_URL}/scores/by-summoner/{summonerId}") def champion_mastery(summoner_id: , champion_id:) response_for MASTERY_BY_CHAMPION_ID, {summonerId: summoner_id, championId: champion_id} end