Class: RBattlenet::D3::Recipe

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



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

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