Class: BlizzardApi::Wow::PvpTier
- Inherits:
-
GenericDataEndpoint
- Object
- Request
- Request
- GenericDataEndpoint
- BlizzardApi::Wow::PvpTier
- Defined in:
- lib/blizzard_api_rb/wow/game_data/pvp_tier.rb
Overview
This class allows access to World of Warcraft power types
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.pvp_tier
Constant Summary
Constants inherited from Request
Request::CACHE_DAY, Request::CACHE_HOUR, Request::CACHE_TRIMESTER
Constants included from ApiStandards
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
-
#tier_media(id, **options) ⇒ Hash
Returns media assets for a pvp tier.
Methods inherited from GenericDataEndpoint
Methods inherited from Request
Methods inherited from Request
Constructor Details
This class inherits a constructor from BlizzardApi::Wow::Request
Instance Method Details
#tier_media(id, **options) ⇒ Hash
Returns media assets for a pvp tier
in the configuration module
21 22 23 |
# File 'lib/blizzard_api_rb/wow/game_data/pvp_tier.rb', line 21 def tier_media(id, **) api_request "#{base_url(:media)}/#{self.class.endpoint}/#{id}", **.merge() end |