Class: RBattlenet::Wow::MythicKeystoneLeaderboard

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/wow/mythic_keystone_leaderboard.rb

Constant Summary

Constants inherited from Endpoints::Base

Endpoints::Base::SUPPORTED_FIELDS

Class Method Summary collapse

Methods inherited from Endpoints::Base

all, find

Class Method Details

.path(leaderboard) ⇒ Object



4
5
6
# File 'lib/rbattlenet/endpoints/wow/mythic_keystone_leaderboard.rb', line 4

def self.path(leaderboard)
  RBattlenet.uri("data/wow/connected-realm/#{leaderboard[:connected_realm_id]}/mythic-leaderboard/#{leaderboard[:dungeon_id]}/period/#{leaderboard[:period]}?namespace=dynamic-")
end