Class: RBattlenet::Wow::Character::Pets

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



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

def self.path(character)
  RBattlenet.uri("profile/wow/character/#{character[:realm]}/#{character[:name]}/collections/pets?namespace=profile-")
end