Class: RBattlenet::Sc2::Legacy::Ladder

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/sc2/legacy/ladder.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(ladder) ⇒ Object



5
6
7
# File 'lib/rbattlenet/endpoints/sc2/legacy/ladder.rb', line 5

def self.path(ladder)
  RBattlenet.uri("sc2/legacy/ladder/#{ladder[:region_id]}/#{ladder[:id]}?")
end