Module: Battlenet::Modules::Pvp

Included in:
Battlenet
Defined in:
lib/battlenet/modules/pvp.rb

Instance Method Summary collapse

Instance Method Details

#arena_ladder(battlegroup, size, options = {}) ⇒ Object



6
7
8
9
10
11
# File 'lib/battlenet/modules/pvp.rb', line 6

def arena_ladder(battlegroup, size, options = {})
  battlegroup = URI.escape battlegroup
  size = URI.escape size

  get "/pvp/arena/#{battlegroup}/#{size}", options
end

#rated_bg_ladder(options = {}) ⇒ Object



13
14
15
# File 'lib/battlenet/modules/pvp.rb', line 13

def rated_bg_ladder(options = {})
  get "/pvp/ratedbg/ladder", options
end