Class: RBattlenet::D3::SeasonLeaderboard

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/d3/season_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/d3/season_leaderboard.rb', line 4

def self.path(leaderboard)
  RBattlenet.uri("data/d3/season/#{leaderboard[:season]}/leaderboard/#{leaderboard[:id]}?")
end