Class: RBattlenet::D3::Skill

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



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

def self.path(skill)
  RBattlenet.uri("d3/data/hero/#{skill[:class_slug]}/skill/#{skill[:id]}?")
end