class BlizzardApi::Wow::AzeriteEssence
This class allows access to World of Warcraft azerite essences
@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.azerite_essence
Public Instance Methods
media(id, **options)
click to toggle source
Fetch media for one of the azerite essences listed by the {#index} using its id
@param id [Integer] Azerite essence id
@!macro request_options
@!macro response
# File lib/blizzard_api/wow/game_data/azerite_essence.rb, line 23 def media(id, **options) api_request "#{base_url(:media)}/azerite-essence/#{id}", **default_options.merge(options) end
Protected Instance Methods
endpoint_setup()
click to toggle source
# File lib/blizzard_api/wow/game_data/azerite_essence.rb, line 29 def endpoint_setup @endpoint = 'azerite-essence' @namespace = :static @collection = 'azerite_essences' @ttl = CACHE_TRIMESTER end