Class: DotkaM::Item
Instance Attribute Summary
Attributes inherited from Raw
#raw
Instance Method Summary
collapse
Methods inherited from Raw
#initialize
Constructor Details
This class inherits a constructor from DotkaM::Raw
Instance Method Details
#id ⇒ Object
7
8
9
|
# File 'lib/dotka/item.rb', line 7
def id
@raw["id"].to_i
end
|
#localized_name ⇒ Object
15
16
17
|
# File 'lib/dotka/item.rb', line 15
def localized_name
@raw["localized_name"]
end
|
#name ⇒ Object
11
12
13
|
# File 'lib/dotka/item.rb', line 11
def name
@raw["name"]
end
|