Sha256: b70704ce47164f4edfffda9d0439e06cbc36f9d388ed7804449fc5f940b48e34
Contents?: true
Size: 1021 Bytes
Versions: 1
Compression:
Stored size: 1021 Bytes
Contents
# frozen_string_literal: true require_relative 'base' require_relative 'endpoint_template' module Taric module Operation module Champion include Taric::Operation::Base CHAMPION_ROTATIONS = EndpointTemplate.new(template_url: "https://{host}/lol/platform/v3/champion-rotations") # Returns champion rotations, including free-to-play and low-level free-to-play rotations # # @see https://developer.riotgames.com/api-methods/#champion-v3/GET_getChampionInfo Champion Rotations # @return [Hash] of free champion ids, free new player champion ids, and new player max level # # @example # champion_rotations = client.champion_rotations.body # free_champion_ids = champion_rotations['freeChampionIds'] # new_player_champion_ids = champion_rotations['freeChampionIdsForNewPlayers'] # max_new_player_level = champion_rotations['maxNewPlayerLevel'] def champion_rotations response_for CHAMPION_ROTATIONS end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taric-2.0.0.pre.alpha.1 | lib/taric/operation/champion.rb |