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