Class: RBattlenet::Wow::Classic::ItemSubclass

Inherits:
Endpoints::Base show all
Defined in:
lib/rbattlenet/endpoints/wow/classic/item_subclass.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(subclass) ⇒ Object



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

def self.path(subclass)
  RBattlenet.uri("data/wow/item-class/#{subclass[:class_id]}/item-subclass/#{subclass[:id]}?namespace=static-classic-")
end