class Battlenet::WOW::Achievement

Public Class Methods

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

  super(options)
end

Public Instance Methods

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