Class: RBattlenet::Wow::PlayableClass

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/wow/playable_class.rb

Defined Under Namespace

Classes: PvpTalentSlot

Constant Summary collapse

SUPPORTED_FIELDS =
[:itself, :talent_slots]

Class Method Summary collapse

Methods inherited from Endpoints::Base

all, find

Class Method Details

.index_pathObject



10
11
12
# File 'lib/rbattlenet/endpoints/wow/playable_class.rb', line 10

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

.path(id) ⇒ Object



6
7
8
# File 'lib/rbattlenet/endpoints/wow/playable_class.rb', line 6

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

.talent_slotsObject



14
15
16
# File 'lib/rbattlenet/endpoints/wow/playable_class.rb', line 14

def self.talent_slots
  RBattlenet::Wow::PlayableClass::PvpTalentSlot
end