Sha256: 2b2b6785d0fcbe21132a1346f47447160ac87742ad5e377215fab6febf5340af
Contents?: true
Size: 428 Bytes
Versions: 6
Compression:
Stored size: 428 Bytes
Contents
module Lol class TeamRequest < Request # Returns the supported API version # @return [String] supported api version def self.api_version "v2.2" end # Retrieves the list of Teams for the given summoner # @return [Array] List of Team def get summoner_id perform_request(api_url "team/by-summoner/#{summoner_id}").map do |team_data| Team.new team_data end end end end
Version data entries
6 entries across 6 versions & 1 rubygems