Class: BlizzardApi::Wow::AzeriteEssence
- Inherits:
-
GenericDataEndpoint
- Object
- Request
- Request
- GenericDataEndpoint
- BlizzardApi::Wow::AzeriteEssence
- Includes:
- Searchable
- Defined in:
- lib/blizzard_api/wow/game_data/azerite_essence.rb
Overview
This class allows access to World of Warcraft azerite essences
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.azerite_essence
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 azerite essences listed by the GenericDataEndpoint#index using its id.
Methods included from Searchable
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 azerite essences listed by the GenericDataEndpoint#index using its id
in the configuration module
25 26 27 |
# File 'lib/blizzard_api/wow/game_data/azerite_essence.rb', line 25 def media(id, **) api_request "#{base_url(:media)}/azerite-essence/#{id}", **.merge() end |