class Battlenet::WOW::Spell

Public Class Methods

new(options={}) click to toggle source
Calls superclass method Battlenet::APIResponse::new
# File lib/battlenet/modules/wow/spell.rb, line 5
def initialize(options={})
  @spell          = options.delete(:spell)
  @endpoint       = "/spell/#{@spell}"

  super(options)
end

Public Instance Methods

details(options = {}) click to toggle source
# File lib/battlenet/modules/wow/spell.rb, line 12
def details(options = {})
  get_data(@endpoint, options)
end