class BlizzardApi::Wow::WowToken
This class allows access to World of Warcraft tokens
@see develop.battle.net/documentation/api-reference/world-of-warcraft-game-data-api
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.wow_token
Public Instance Methods
get(**options)
click to toggle source
Returns wow token data
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/wow_token.rb, line 19 def get(**options) opts = { namespace: :dynamic, ttl: CACHE_HOUR }.merge(options) api_request "#{base_url(:game_data)}/token/index", **opts end