Class: BlizzardApi::Wow::MythicKeystoneLeaderboard
- Defined in:
- lib/blizzard_api_rb/wow/game_data/mythic_keystone_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_keystone_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(connected_realm_id, dungeon_id, period, **options) ⇒ Hash
Fetch mythic keystone leaderboard for the specified realm, dungeon and period.
-
#index(connected_realm_id, **options) ⇒ Hash
Fetch mythic keystone leaderboards for the specified realm.
Methods inherited from Request
Methods inherited from Request
Constructor Details
This class inherits a constructor from BlizzardApi::Wow::Request
Instance Method Details
#get(connected_realm_id, dungeon_id, period, **options) ⇒ Hash
Fetch mythic keystone leaderboard for the specified realm, dungeon and period
in the configuration module
33 34 35 |
# File 'lib/blizzard_api_rb/wow/game_data/mythic_keystone_leaderboard.rb', line 33 def get(connected_realm_id, dungeon_id, period, **) api_request "#{endpoint_uri(connected_realm_id)}/#{dungeon_id}/period/#{period}", **() end |
#index(connected_realm_id, **options) ⇒ Hash
Fetch mythic keystone leaderboards for the specified realm
in the configuration module
21 22 23 |
# File 'lib/blizzard_api_rb/wow/game_data/mythic_keystone_leaderboard.rb', line 21 def index(connected_realm_id, **) api_request "#{endpoint_uri(connected_realm_id)}/index", **() end |