Sha256: a24347e73bc28f1da50e4ad4859b0f8e806f7555bc4e2c10db3fc2a16d7b5c68

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

require "johki/client"
require "johki/interface"

module Johki
  class IDOTA2Match < Interface
    def initialize(client, appid)
      super(client, "IDOTA2Match_#{appid}")
    end

    def get_match_details(params={})
      path = path("GetMatchDetails/v1")
      @client.get(path, params)
    end

    def get_match_history(params={})
      path = path("GetMatchHistory/v1")
      @client.get(path, params)
    end

    def get_match_history_by_sequence_num(params={})
      path = path("GetMatchHistoryBySequenceNum/v1")
      @client.get(path, params)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
johki-0.1.8 lib/johki/dota2_match.rb