Module: Battlenet::Modules::Data
- Included in:
- Battlenet
- Defined in:
- lib/battlenet/modules/data.rb
Instance Method Summary collapse
- #battlegroups(options = {}) ⇒ Object
- #character_achievements(options = {}) ⇒ Object
- #character_classes(options = {}) ⇒ Object
- #character_races(options = {}) ⇒ Object
- #guild_achievements(options = {}) ⇒ Object
- #guild_perks(options = {}) ⇒ Object
- #guild_rewards(options = {}) ⇒ Object
- #item_classes(options = {}) ⇒ Object
Instance Method Details
#battlegroups(options = {}) ⇒ Object
4 5 6 7 |
# File 'lib/battlenet/modules/data.rb', line 4 def battlegroups( = {}) # URL currently requires a trailing '/' get "/data/battlegroups/", end |
#character_achievements(options = {}) ⇒ Object
29 30 31 |
# File 'lib/battlenet/modules/data.rb', line 29 def character_achievements( = {}) get "/data/character/achievements", end |
#character_classes(options = {}) ⇒ Object
13 14 15 |
# File 'lib/battlenet/modules/data.rb', line 13 def character_classes( = {}) get "/data/character/classes", end |
#character_races(options = {}) ⇒ Object
9 10 11 |
# File 'lib/battlenet/modules/data.rb', line 9 def character_races( = {}) get "/data/character/races", end |
#guild_achievements(options = {}) ⇒ Object
33 34 35 |
# File 'lib/battlenet/modules/data.rb', line 33 def guild_achievements( = {}) get "/data/guild/achievements", end |
#guild_perks(options = {}) ⇒ Object
21 22 23 |
# File 'lib/battlenet/modules/data.rb', line 21 def guild_perks( = {}) get "/data/guild/perks", end |
#guild_rewards(options = {}) ⇒ Object
17 18 19 |
# File 'lib/battlenet/modules/data.rb', line 17 def guild_rewards( = {}) get "/data/guild/rewards", end |
#item_classes(options = {}) ⇒ Object
25 26 27 |
# File 'lib/battlenet/modules/data.rb', line 25 def item_classes( = {}) get "/data/item/classes", end |