Class: RBattlenet::Wow::PlayableSpecialization

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/wow/playable_specialization.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

.index_pathObject



8
9
10
# File 'lib/rbattlenet/endpoints/wow/playable_specialization.rb', line 8

def self.index_path
  RBattlenet.uri("data/wow/playable-specialization/index?namespace=static-")
end

.path(id) ⇒ Object



4
5
6
# File 'lib/rbattlenet/endpoints/wow/playable_specialization.rb', line 4

def self.path(id)
  RBattlenet.uri("data/wow/playable-specialization/#{id}?namespace=static-")
end