Class: RBattlenet::Wow::Character

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/wow/character.rb

Defined Under Namespace

Classes: AchievementStatistics, Achievements, ActiveQuests, Appearance, CompletedDungeons, CompletedQuests, CompletedRaids, Equipment, HunterPets, Keystones, Legacy, Media, Mounts, Pets, Professions, PvpBracket2v2, PvpBracket3v3, PvpBracketRbg, PvpSummary, Reputations, SeasonKeystones, Specializations, Statistics, Status, Titles

Constant Summary collapse

SUPPORTED_FIELDS =
[:itself, :achievements, :appearance, :equipment, :hunter_pets, :keystones, :media,
:mounts, :pets, :pvp_summary, :reputations, :specializations, :statistics, :status,
:titles, :legacy]

Class Method Summary collapse

Methods inherited from Endpoints::Base

all, find

Class Method Details

.achievement_statisticsObject



17
18
19
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 17

def achievement_statistics
  RBattlenet::Wow::Character::AchievementStatistics
end

.achievementsObject



13
14
15
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 13

def achievements
  RBattlenet::Wow::Character::Achievements
end

.active_questsObject



21
22
23
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 21

def active_quests
  RBattlenet::Wow::Character::ActiveQuests
end

.appearanceObject



25
26
27
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 25

def appearance
  RBattlenet::Wow::Character::Appearance
end

.completed_dungeonsObject



29
30
31
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 29

def completed_dungeons
  RBattlenet::Wow::Character::CompletedDungeons
end

.completed_questsObject



33
34
35
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 33

def completed_quests
  RBattlenet::Wow::Character::CompletedQuests
end

.completed_raidsObject



37
38
39
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 37

def completed_raids
  RBattlenet::Wow::Character::CompletedRaids
end

.equipmentObject



41
42
43
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 41

def equipment
  RBattlenet::Wow::Character::Equipment
end

.hunter_petsObject



45
46
47
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 45

def hunter_pets
  RBattlenet::Wow::Character::HunterPets
end

.keystonesObject



49
50
51
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 49

def keystones
  RBattlenet::Wow::Character::Keystones
end

.legacyObject



105
106
107
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 105

def legacy
  RBattlenet::Wow::Character::Legacy
end

.mediaObject



53
54
55
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 53

def media
  RBattlenet::Wow::Character::Media
end

.mountsObject



57
58
59
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 57

def mounts
  RBattlenet::Wow::Character::Mounts
end

.path(character) ⇒ Object



9
10
11
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 9

def path(character)
  RBattlenet.uri("profile/wow/character/#{character[:realm]}/#{character[:name]}?namespace=profile-")
end

.petsObject



61
62
63
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 61

def pets
  RBattlenet::Wow::Character::Pets
end

.professionsObject



65
66
67
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 65

def professions
  RBattlenet::Wow::Character::Professions
end

.pvp_bracket_2v2Object



69
70
71
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 69

def pvp_bracket_2v2
  RBattlenet::Wow::Character::PvpBracket2v2
end

.pvp_bracket_3v3Object



73
74
75
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 73

def pvp_bracket_3v3
  RBattlenet::Wow::Character::PvpBracket3v3
end

.pvp_bracket_rbgObject



77
78
79
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 77

def pvp_bracket_rbg
  RBattlenet::Wow::Character::PvpBracketRbg
end

.pvp_summaryObject



81
82
83
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 81

def pvp_summary
  RBattlenet::Wow::Character::PvpSummary
end

.reputationsObject



85
86
87
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 85

def reputations
  RBattlenet::Wow::Character::Reputations
end

.specializationsObject



89
90
91
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 89

def specializations
  RBattlenet::Wow::Character::Specializations
end

.statisticsObject



93
94
95
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 93

def statistics
  RBattlenet::Wow::Character::Statistics
end

.statusObject



97
98
99
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 97

def status
  RBattlenet::Wow::Character::Status
end

.titlesObject



101
102
103
# File 'lib/rbattlenet/endpoints/wow/character.rb', line 101

def titles
  RBattlenet::Wow::Character::Titles
end