Module: Battlenet::Modules::Data

Included in:
Battlenet
Defined in:
lib/battlenet/modules/data.rb

Instance Method Summary collapse

Instance Method Details

#battlegroups(options = {}) ⇒ Object



4
5
6
7
# File 'lib/battlenet/modules/data.rb', line 4

def battlegroups(options = {})
  # URL currently requires a trailing '/'
  get "/data/battlegroups/", options
end

#character_achievements(options = {}) ⇒ Object



29
30
31
# File 'lib/battlenet/modules/data.rb', line 29

def character_achievements(options = {})
  get "/data/character/achievements", options
end

#character_classes(options = {}) ⇒ Object



13
14
15
# File 'lib/battlenet/modules/data.rb', line 13

def character_classes(options = {})
  get "/data/character/classes", options
end

#character_races(options = {}) ⇒ Object



9
10
11
# File 'lib/battlenet/modules/data.rb', line 9

def character_races(options = {})
  get "/data/character/races", options
end

#guild_achievements(options = {}) ⇒ Object



33
34
35
# File 'lib/battlenet/modules/data.rb', line 33

def guild_achievements(options = {})
  get "/data/guild/achievements", options
end

#guild_perks(options = {}) ⇒ Object



21
22
23
# File 'lib/battlenet/modules/data.rb', line 21

def guild_perks(options = {})
  get "/data/guild/perks", options
end

#guild_rewards(options = {}) ⇒ Object



17
18
19
# File 'lib/battlenet/modules/data.rb', line 17

def guild_rewards(options = {})
  get "/data/guild/rewards", options
end

#item_classes(options = {}) ⇒ Object



25
26
27
# File 'lib/battlenet/modules/data.rb', line 25

def item_classes(options = {})
  get "/data/item/classes", options
end