Class: BlizzardApi::Wow::MythicRaidLeaderboard
- Defined in:
- lib/blizzard_api_rb/wow/game_data/mythic_raid_leaderboard.rb
Overview
This class allows access to World of Warcraft mythic raid leaderboard
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.mythic_raid_leaderboard
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
-
#get(raid, faction, **options) ⇒ Hash
Fetch leaderboard data for given raid and faction.
Methods inherited from Request
Methods inherited from Request
Constructor Details
This class inherits a constructor from BlizzardApi::Wow::Request
Instance Method Details
#get(raid, faction, **options) ⇒ Hash
Fetch leaderboard data for given raid and faction
in the configuration module
22 23 24 25 |
# File 'lib/blizzard_api_rb/wow/game_data/mythic_raid_leaderboard.rb', line 22 def get(raid, faction, **) opts = .merge(namespace: :dynamic, ttl: CACHE_DAY) api_request "#{base_url(:game_data)}/leaderboard/hall-of-fame/#{raid}/#{faction}", **opts end |