Class: RBattlenet::Wow::PvpSeason
- Inherits:
-
Endpoints::Base
- Object
- Endpoints::Base
- RBattlenet::Wow::PvpSeason
- Defined in:
- lib/rbattlenet/endpoints/wow/pvp_season.rb
Defined Under Namespace
Classes: Rewards
Constant Summary collapse
- SUPPORTED_FIELDS =
[:itself, :rewards]
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Endpoints::Base
Class Method Details
.index_path ⇒ Object
10 11 12 |
# File 'lib/rbattlenet/endpoints/wow/pvp_season.rb', line 10 def self.index_path RBattlenet.uri("data/wow/pvp-season/index?namespace=dynamic-") end |
.path(id) ⇒ Object
6 7 8 |
# File 'lib/rbattlenet/endpoints/wow/pvp_season.rb', line 6 def self.path(id) RBattlenet.uri("data/wow/pvp-season/#{id}?namespace=dynamic-") end |
Instance Method Details
#rewards ⇒ Object
14 15 16 |
# File 'lib/rbattlenet/endpoints/wow/pvp_season.rb', line 14 def rewards RBattlenet::Wow::PvpSeason::Rewards end |