Class: RBattlenet::Wow::PvpSeason

Inherits:
Endpoints::Base show all
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

all, find

Class Method Details

.index_pathObject



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

#rewardsObject



14
15
16
# File 'lib/rbattlenet/endpoints/wow/pvp_season.rb', line 14

def rewards
  RBattlenet::Wow::PvpSeason::Rewards
end