Module: BnetApi::WoW::Data

Extended by:
Data
Included in:
Data
Defined in:
lib/bnet_api/wow_data.rb

Overview

All API methods relating to World of Warcraft Data are contained in this module.

Instance Method Summary collapse

Instance Method Details

#battlegroupsHash

Retrieves all battlegroups for the region.

Returns:

  • (Hash)

    A hash containing the battlegroups.



10
11
12
# File 'lib/bnet_api/wow_data.rb', line 10

def battlegroups
  BnetApi::make_request('/wow/data/battlegroups/')
end

#character_achievementsHash

Retrieves all character achievements.

Returns:

  • (Hash)

    A hash containing the character achievements.



31
32
33
# File 'lib/bnet_api/wow_data.rb', line 31

def character_achievements
  BnetApi::make_request('/wow/data/character/achievements')
end

#character_classesHash

Retrieves all character classes.

Returns:

  • (Hash)

    A hash containing the character classes.



24
25
26
# File 'lib/bnet_api/wow_data.rb', line 24

def character_classes
  BnetApi::make_request('/wow/data/character/classes')
end

#character_racesHash

Retrieves all character races.

Returns:

  • (Hash)

    A hash containing the character races.



17
18
19
# File 'lib/bnet_api/wow_data.rb', line 17

def character_races
  BnetApi::make_request('/wow/data/character/races')
end

#guild_achievementsHash

Retrieves all guild achievements.

Returns:

  • (Hash)

    A hash containing the guild achievements.



52
53
54
# File 'lib/bnet_api/wow_data.rb', line 52

def guild_achievements
  BnetApi::make_request('/wow/data/guild/achievements')
end

#guild_perksHash

Retrieves all guild perks.

Returns:

  • (Hash)

    A hash containing the guild perks.



45
46
47
# File 'lib/bnet_api/wow_data.rb', line 45

def guild_perks
  BnetApi::make_request('/wow/data/guild/perks')
end

#guild_rewardsHash

Retrieves all guild rewards.

Returns:

  • (Hash)

    A hash containing the guild rewards.



38
39
40
# File 'lib/bnet_api/wow_data.rb', line 38

def guild_rewards
  BnetApi::make_request('/wow/data/guild/rewards')
end

#item_classesHash

Retrieves all item classes.

Returns:

  • (Hash)

    A hash containing the item classes.



59
60
61
# File 'lib/bnet_api/wow_data.rb', line 59

def item_classes
  BnetApi::make_request('/wow/data/item/classes')
end

#pet_typesHash

Retrieves all pet types.

Returns:

  • (Hash)

    A hash containing the pet types.



73
74
75
# File 'lib/bnet_api/wow_data.rb', line 73

def pet_types
  BnetApi::make_request('/wow/data/pet/types')
end

#talentsHash

Retrieves all talents.

Returns:

  • (Hash)

    A hash containing the talents.



66
67
68
# File 'lib/bnet_api/wow_data.rb', line 66

def talents
  BnetApi::make_request('/wow/data/talents')
end