Class: RBattlenet::D3::Hero
Defined Under Namespace
Classes: FollowerItems, Items
Constant Summary
collapse
- SUPPORTED_FIELDS =
[:itself, :items, :follower_items]
Class Method Summary
collapse
all, find
Class Method Details
.follower_items ⇒ Object
14
15
16
|
# File 'lib/rbattlenet/endpoints/d3/hero.rb', line 14
def self.follower_items
RBattlenet::D3::Hero::FollowerItems
end
|
.items ⇒ Object
10
11
12
|
# File 'lib/rbattlenet/endpoints/d3/hero.rb', line 10
def self.items
RBattlenet::D3::Hero::Items
end
|
.path(hero) ⇒ Object
6
7
8
|
# File 'lib/rbattlenet/endpoints/d3/hero.rb', line 6
def self.path(hero)
RBattlenet.uri("d3/profile/#{hero[:battletag]}/hero/#{hero[:id]}?")
end
|