Class: Dota::API::BasicSide

Inherits:
Entity
  • Object
show all
Defined in:
lib/dota/api/basic_side.rb

Direct Known Subclasses

LiveMatch::Side, Match::Side

Constant Summary collapse

TOWERS =
[
  :ancient_top,
  :ancient_bottom,
  :bottom_tier_3,
  :bottom_tier_2,
  :bottom_tier_1,
  :middle_tier_3,
  :middle_tier_2,
  :middle_tier_1,
  :top_tier_3,
  :top_tier_2,
  :top_tier_1
].freeze
BARRACKS =
[
  :bottom_ranged,
  :bottom_melee,
  :middle_ranged,
  :middle_melee,
  :top_ranged,
  :top_melee
].freeze

Instance Attribute Summary

Attributes inherited from Entity

#raw

Instance Method Summary collapse

Methods inherited from Entity

#initialize

Methods included from Utilities::Inspectable

#inspect

Constructor Details

This class inherits a constructor from Dota::API::Entity

Instance Method Details

#idObject



27
28
29
# File 'lib/dota/api/basic_side.rb', line 27

def id
  raw["team_id"]
end