Class: RBattlenet::D3::Hero::Items

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



4
5
6
# File 'lib/rbattlenet/endpoints/d3/hero/items.rb', line 4

def self.path(hero)
  RBattlenet.uri("d3/profile/#{hero[:battletag]}/hero/#{hero[:id]}/items?")
end