lib/battlenet/modules/data.rb in battlenet-1.2.0 vs lib/battlenet/modules/data.rb in battlenet-1.3.0

- old
+ new

@@ -1,31 +1,33 @@ class Battlenet - module Data - def character_races(options = {}) - get "/data/character/races", options - end + module Modules + module Data + def character_races(options = {}) + get "/data/character/races", options + end - def character_classes(options = {}) - get "/data/character/classes", options - end + def character_classes(options = {}) + get "/data/character/classes", options + end - def guild_rewards(options = {}) - get "/data/guild/rewards", options - end + def guild_rewards(options = {}) + get "/data/guild/rewards", options + end - def guild_perks(options = {}) - get "/data/guild/perks", options - end + def guild_perks(options = {}) + get "/data/guild/perks", options + end - def item_classes(options = {}) - get "/data/item/classes", options - end + def item_classes(options = {}) + get "/data/item/classes", options + end - def character_achievements(options = {}) - get "/data/character/achievements", options - end + def character_achievements(options = {}) + get "/data/character/achievements", options + end - def guild_achievements(options = {}) - get "/data/guild/achievements", options + def guild_achievements(options = {}) + get "/data/guild/achievements", options + end end end end