Class: RBattlenet::Wow::Classic::CreatureType

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



9
10
11
# File 'lib/rbattlenet/endpoints/wow/classic/creature_type.rb', line 9

def self.index_path
  RBattlenet.uri("data/wow/creature-type/index?namespace=static-classic-")
end

.path(id) ⇒ Object



5
6
7
# File 'lib/rbattlenet/endpoints/wow/classic/creature_type.rb', line 5

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