class Battlenet::WOW::Character
Public Class Methods
new(options={})
click to toggle source
Calls superclass method
Battlenet::APIResponse::new
# File lib/battlenet/modules/wow/character.rb, line 5 def initialize(options={}) @realm = options.delete(:realm) @character_name = options.delete(:character_name) @endpoint = "/character/#{@realm}/#{@character_name}" super(options) end
Public Instance Methods
achievements(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 17 def achievements(options = {}) get_data(@endpoint, options.merge({fields: 'achievements'})) end
appearance(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 21 def appearance(options = {}) get_data(@endpoint, options.merge({fields: 'appearance'})) end
audit(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 89 def audit(options = {}) get_data(@endpoint, options.merge({fields: 'audit'})) end
feed(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 25 def feed(options = {}) get_data(@endpoint, options.merge({fields: 'feed'})) end
guild(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 29 def guild(options = {}) get_data(@endpoint, options.merge({fields: 'guild'})) end
hunter_pets(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 33 def hunter_pets(options = {}) get_data(@endpoint, options.merge({fields: 'hunterPets'})) end
items(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 41 def items(options = {}) get_data(@endpoint, options.merge({fields: 'items'})) end
mounts(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 45 def mounts(options = {}) get_data(@endpoint, options.merge({fields: 'mounts'})) end
pet_slots(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 49 def pet_slots(options = {}) get_data(@endpoint, options.merge({fields: 'petSlots'})) end
pets(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 37 def pets(options = {}) get_data(@endpoint, options.merge({fields: 'pets'})) end
professions(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 53 def professions(options = {}) get_data(@endpoint, options.merge({fields: 'professions'})) end
profile(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 13 def profile(options = {}) get_data(@endpoint, options) end
progression(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 57 def progression(options = {}) get_data(@endpoint, options.merge({fields: 'progression'})) end
pvp(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 61 def pvp(options = {}) get_data(@endpoint, options.merge({fields: 'pvp'})) end
quests(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 65 def quests(options = {}) get_data(@endpoint, options.merge({fields: 'quests'})) end
reputation(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 69 def reputation(options = {}) get_data(@endpoint, options.merge({fields: 'reputation'})) end
statistics(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 73 def statistics(options = {}) get_data(@endpoint, options.merge({fields: 'statistics'})) end
stats(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 77 def stats(options = {}) get_data(@endpoint, options.merge({fields: 'stats'})) end
talents(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 81 def talents(options = {}) get_data(@endpoint, options.merge({fields: 'talents'})) end
titles(options = {})
click to toggle source
# File lib/battlenet/modules/wow/character.rb, line 85 def titles(options = {}) get_data(@endpoint, options.merge({fields: 'titles'})) end