Class: RBattlenet::Hearthstone::Metadata
- Inherits:
-
Endpoints::Base
- Object
- Endpoints::Base
- RBattlenet::Hearthstone::Metadata
- Defined in:
- lib/rbattlenet/endpoints/hearthstone/metadata.rb
Constant Summary
Constants inherited from Endpoints::Base
Endpoints::Base::SUPPORTED_FIELDS
Class Method Summary collapse
Methods inherited from Endpoints::Base
Class Method Details
.index_path ⇒ Object
8 9 10 |
# File 'lib/rbattlenet/endpoints/hearthstone/metadata.rb', line 8 def self.index_path RBattlenet.uri("hearthstone/metadata?") end |
.path(id) ⇒ Object
4 5 6 |
# File 'lib/rbattlenet/endpoints/hearthstone/metadata.rb', line 4 def self.path(id) RBattlenet.uri("hearthstone/metadata/#{id}?") end |