Class: RBattlenet::Sc2::Profile
- Inherits:
-
Endpoints::Base
- Object
- Endpoints::Base
- RBattlenet::Sc2::Profile
- Defined in:
- lib/rbattlenet/endpoints/sc2/profile.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(profile) ⇒ Object
4 5 6 |
# File 'lib/rbattlenet/endpoints/sc2/profile.rb', line 4 def self.path(profile) RBattlenet.uri("sc2/profile/#{profile[:region_id]}/#{profile[:realm_id]}/#{profile[:id]}?") end |