Class: Dota::API::Entity

Inherits:
Object
  • Object
show all
Includes:
Utilities::Inspectable
Defined in:
lib/dota/api/entity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Utilities::Inspectable

#inspect

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

#rawObject (readonly)

Returns the value of attribute raw.



6
7
8
# File 'lib/dota/api/entity.rb', line 6

def raw
  @raw
end