Class: WoW::Spell
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id, params = {}) ⇒ Spell
constructor
A new instance of Spell.
Methods inherited from Base
Constructor Details
#initialize(id, params = {}) ⇒ Spell
Returns a new instance of Spell.
5 6 7 8 |
# File 'lib/wow/features/spell.rb', line 5 def initialize(id, params = {}) params = params.merge({fields: fields.join(',')}) super(self.class.data(id, params)) end |