Sha256: b87e8c29cd9be4d3928185b6f6922bf524121107884ed90e7fb6dea78e3e919e
Contents?: true
Size: 634 Bytes
Versions: 4
Compression:
Stored size: 634 Bytes
Contents
require_relative 'base' module Taric module Operation module Team include Taric::Operation::Base TEAM_VERSION = 'v2.4'.freeze BASE_TEAM_URL = "#{BASE_URL_FN.(TEAM_VERSION)}/team" TEAMS_BY_SUMMONER_IDS = Addressable::Template.new "#{BASE_TEAM_URL}/by-summoner/{summonerIds}" TEAMS_BY_TEAM_IDS = Addressable::Template.new "#{BASE_TEAM_URL}/{teamIds}" def teams_by_summoner_ids(summoner_ids:) response_for TEAMS_BY_SUMMONER_IDS, {summonerIds: summoner_ids} end def teams(team_ids:) response_for TEAMS_BY_TEAM_IDS, {teamIds: team_ids} end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
taric-0.1.5 | lib/taric/operation/team.rb |
taric-0.1.4 | lib/taric/operation/team.rb |
taric-0.1.2 | lib/taric/operation/team.rb |
taric-0.1.1 | lib/taric/operation/team.rb |