Class: Dota::API::Entity
- Inherits:
-
Object
- Object
- Dota::API::Entity
- Includes:
- Utilities::Inspectable
- Defined in:
- lib/dota/api/entity.rb
Direct Known Subclasses
BasicMatch, BasicPlayer, BasicSide, Cosmetic::Rarity, Friend, League, Match::Draft, ScheduledMatch, Team
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Entity
constructor
A new instance of Entity.
Methods included from Utilities::Inspectable
Constructor Details
#initialize(raw) ⇒ Entity
Returns a new instance of Entity.
8 9 10 |
# File 'lib/dota/api/entity.rb', line 8 def initialize(raw) @raw = raw end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
6 7 8 |
# File 'lib/dota/api/entity.rb', line 6 def raw @raw end |