Sha256: 1a2970d93a781180fe1accb403176a217263a6a24695eea47ce318e8accd0fdc
Contents?: true
Size: 668 Bytes
Versions: 8
Compression:
Stored size: 668 Bytes
Contents
require_relative 'base' module Taric module Operation module Match include Taric::Operation::Base MATCH_VERSION = 'v2.2' MATCH = Addressable::Template.new "#{BASE_URL_FN.(MATCH_VERSION)}/match/{matchId}{?api_key,includeTimeline}" # Match data for id. # # @see https://developer.riotgames.com/api/methods#!/967/3313 # @param id [Fixnum] id of match # @param include_timeline [Boolean] optional, true includes timestamps on events # @return match data for id. def match(id:, include_timeline: nil) response_for MATCH, {matchId: id, includeTimeline: include_timeline} end end end end
Version data entries
8 entries across 8 versions & 1 rubygems