class Dota::API::BasicPlayer

Constants

STATUS
TYPES

Public Instance Methods

assists() click to toggle source
# File lib/dota/api/basic_player.rb, line 35
def assists
  raw["assists"]
end
denies() click to toggle source
# File lib/dota/api/basic_player.rb, line 43
def denies
  raw["denies"]
end
gold() click to toggle source
# File lib/dota/api/basic_player.rb, line 47
def gold
  raw["gold"]
end
gpm() click to toggle source
# File lib/dota/api/basic_player.rb, line 55
def gpm
  raw["gold_per_min"]
end
hero() click to toggle source
# File lib/dota/api/basic_player.rb, line 27
def hero
  Hero.find(raw["hero_id"])
end
id() click to toggle source
# File lib/dota/api/basic_player.rb, line 23
def id
  raw["account_id"]
end
kills() click to toggle source
# File lib/dota/api/basic_player.rb, line 51
def kills
  raw["kills"]
end
last_hits() click to toggle source
# File lib/dota/api/basic_player.rb, line 39
def last_hits
  raw["last_hits"]
end
level() click to toggle source
# File lib/dota/api/basic_player.rb, line 31
def level
  raw["level"]
end
xpm() click to toggle source
# File lib/dota/api/basic_player.rb, line 59
def xpm
  raw["xp_per_min"]
end