Sha256: b0ebaa03d8d35bea7d1a80c59a7ea337cac393606bde9d1619981010b6f02489
Contents?: true
Size: 460 Bytes
Versions: 4
Compression:
Stored size: 460 Bytes
Contents
module Lol # Bindings for the Runes API. # # See: https://developer.riotgames.com/api-methods/#runes-v3 class RunesRequest < Request # Get rune pages for a given summoner ID # @param [Integer] summoner_id Summoner ID # @return [Array<DynamicModel>] Rune pages def by_summoner_id summoner_id result = perform_request api_url "runes/by-summoner/#{summoner_id}" result["pages"].map { |p| DynamicModel.new p } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-1.2.0 | lib/lol/runes_request.rb |
ruby-lol-1.1.2 | lib/lol/runes_request.rb |
ruby-lol-1.1.1 | lib/lol/runes_request.rb |
ruby-lol-1.0.0 | lib/lol/runes_request.rb |