Sha256: b0a73016986907cc01a862cead6b951c40f39b5888752b5740352c656f2c7691

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

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

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

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

    def get_heroes(params={})
      path = path("GetHeroes/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/econ_dota2.rb