Module: WoW
- Defined in:
- lib/wow.rb,
lib/wow/base.rb,
lib/wow/version.rb,
lib/wow/features/item.rb,
lib/wow/features/guild.rb,
lib/wow/features/quest.rb,
lib/wow/features/spell.rb,
lib/wow/features/recipe.rb,
lib/wow/features/character.rb,
lib/wow/features/battle_pet.rb,
lib/wow/features/achievement.rb,
lib/wow/features/leaderboard.rb,
lib/wow/features/auction_data.rb,
lib/wow/features/challenge_mode.rb
Defined Under Namespace
Modules: BattlePet, ChallengeMode Classes: APIError, Achievement, AuctionData, Base, Character, ConfigurationError, FieldMissingError, Guild, Item, Leaderboard, Quest, Recipe, Spell
Constant Summary collapse
- LOCALIZATIONS =
Blizzard defined hosts, and locales. See blizzard.github.io/api-wow-docs/#features/access-and-regions
{ 'us.battle.net' => ['en_US', 'es_MX', 'pt_BR'], 'eu.battle.net' => ['en_GB', 'es_ES', 'fr_FR', 'ru_RU', 'de_DE', 'pt_PT', 'it_IT'], 'kr.battle.net' => ['ko_KR'], 'tw.battle.net' => ['zh_TW'], 'www.battlenet.com.cn' => ['zh_CN'], }
- VERSION =
"0.0.5"
Class Attribute Summary collapse
-
.host ⇒ Object
Returns the value of attribute host.
-
.locale ⇒ Object
Returns the value of attribute locale.
Class Method Summary collapse
Class Attribute Details
.host ⇒ Object
Returns the value of attribute host.
27 28 29 |
# File 'lib/wow.rb', line 27 def host @host end |
.locale ⇒ Object
Returns the value of attribute locale.
27 28 29 |
# File 'lib/wow.rb', line 27 def locale @locale end |
Class Method Details
.configuration {|_self| ... } ⇒ Object
45 46 47 |
# File 'lib/wow.rb', line 45 def configuration yield self end |