Class: RBattlenet::Sc2::Legacy::ProfileMatchHistory

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



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

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