lib/lol/match_request.rb
def recent(account_id)
      local_url = api_url "matchlists/by-account/#{account_id}"
      response_data = perform_request local_url
      DynamicModel.new recent_matches(response_data)
    end
# Get match list for last 20 matches played on given account ID and platform ID.
# @param [Integer] account_id Account ID
# @return [DynamicModel] MatchList representation
Get match list for last 20 matches played on given account ID and platform ID.
Get match list for last 20 matches played on given account ID and platform ID .
def recent(account_id)
      local_url = api_url "matchlists/by-account/#{account_id}"
      response_data = perform_request local_url
      DynamicModel.new recent_matches(response_data)
    end
def recent ( account_id ) local_url = api_url "matchlists/by-account/#{account_id}" response_data = perform_request local_url DynamicModel . new recent_matches ( response_data ) end
Get match list for last 20 matches played on given account ID and platform ID.
Get match list for last 20 matches played on given account ID and platform ID .
None
DynamicModel
account_id
account_id Account ID
account_id Account ID