Sha256: 94fa5ac9636ba863a0b1546f6cd8d1935cdf26457f2e9c1b581c8399797b2fde

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

module Lol
  class MatchHistoryRequest < Request
    # Returns the supported API Version
    # @return [String] the supported api version
    def self.api_version
      "v2.2"
    end

    # Returns match history for a summoner
    # @return []
    def get summoner_id
      perform_request(api_url("matchhistory/#{summoner_id}"))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-lol-0.11.4 lib/lol/match_history_request.rb
ruby-lol-0.11.3 lib/lol/match_history_request.rb
ruby-lol-0.11.2 lib/lol/match_history_request.rb
ruby-lol-0.11.1 lib/lol/match_history_request.rb