Class: RBattlenet::Sc2::ProfileLadder
- Inherits:
-
Endpoints::Base
- Object
- Endpoints::Base
- RBattlenet::Sc2::ProfileLadder
- Defined in:
- lib/rbattlenet/endpoints/sc2/profile_ladder.rb
Constant Summary
Constants inherited from Endpoints::Base
Endpoints::Base::SUPPORTED_FIELDS
Class Method Summary collapse
Methods inherited from Endpoints::Base
Class Method Details
.path(ladder) ⇒ Object
4 5 6 7 8 |
# File 'lib/rbattlenet/endpoints/sc2/profile_ladder.rb', line 4 def self.path(ladder) RBattlenet.uri( "sc2/profile/#{ladder[:region_id]}/#{ladder[:realm_id]}/#{ladder[:profile_id]}/ladder/#{ladder[:id]}?" ) end |