Class: Wowr::Classes::ItemCreatedBy
- Inherits:
-
ItemCreation
- Object
- Item
- ItemCreation
- Wowr::Classes::ItemCreatedBy
- Defined in:
- lib/wowr/item.rb
Overview
<createdBy> <spell name=“Bracing Earthstorm Diamond” icon=“temp” id=“32867”> <item requiredSkill=“Jewelcrafting” name=“Design: Bracing Earthstorm Diamond” icon=“inv_scroll_03” type=“Jewelcrafting” level=“73” id=“25903” requiredSkillRank=“365” quality=“1”></item> <reagent name=“Earthstorm Diamond” icon=“inv_misc_gem_diamond_04” id=“25867” count=“1”></reagent> </spell> </createdBy>
Instance Attribute Summary
Attributes inherited from ItemCreation
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(elem, api = nil) ⇒ ItemCreatedBy
constructor
A new instance of ItemCreatedBy.
Methods inherited from Item
Constructor Details
#initialize(elem, api = nil) ⇒ ItemCreatedBy
Returns a new instance of ItemCreatedBy.
572 573 574 575 576 |
# File 'lib/wowr/item.rb', line 572 def initialize(elem, api = nil) super(elem, api) # TODO: Multiple items? @item = PlanItem.new(elem%'item') if (elem%'item') end |