Class: BlizzardApi::Wow::PlayableSpecialization
- Inherits:
-
GenericDataEndpoint
- Object
- Request
- Request
- GenericDataEndpoint
- BlizzardApi::Wow::PlayableSpecialization
- Defined in:
- lib/blizzard_api/wow/game_data/playable_specialization.rb
Overview
This class allows access to World of Warcraft playable specializations
You can get an instance of this class using the default region as follows:
spec = BlizzardApi::Wow.playable_specialization
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
-
#media(id, **options) ⇒ Hash
Fetch media for one of the playable specializations listed by the GenericDataEndpoint#index using its id.
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
#media(id, **options) ⇒ Hash
Fetch media for one of the playable specializations listed by the GenericDataEndpoint#index using its id
in the configuration module
23 24 25 |
# File 'lib/blizzard_api/wow/game_data/playable_specialization.rb', line 23 def media(id, **) api_request "#{base_url(:media)}/playable-specialization/#{id}", **.merge() end |