class BlizzardApi::Wow::PvpTier

This class allows access to World of Warcraft power types

@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.pvp_tier

Public Instance Methods

tier_media(id, **options) click to toggle source

Returns media assets for a pvp tier

@!macro request_options

@!macro response

# File lib/blizzard_api/wow/game_data/pvp_tier.rb, line 19
def tier_media(id, **options)
  api_request "#{base_url(:media)}/#{@endpoint}/#{id}", **default_options.merge(options)
end

Protected Instance Methods

endpoint_setup() click to toggle source
# File lib/blizzard_api/wow/game_data/pvp_tier.rb, line 25
def endpoint_setup
  @endpoint = 'pvp-tier'
  @namespace = :static
  @collection = 'tiers'
  @ttl = CACHE_TRIMESTER
end