Module: GW2::WvW
- Defined in:
- lib/gw2/wvw.rb,
lib/gw2/wvw/matches.rb,
lib/gw2/wvw/match_details.rb,
lib/gw2/wvw/objective_names.rb
Constant Summary
Constants included from HTTPS
Class Method Summary collapse
Methods included from HTTPS
Methods included from JSON
Class Method Details
.match_details(match_id) ⇒ Object
3 4 5 |
# File 'lib/gw2/wvw/match_details.rb', line 3 def self.match_details(match_id) parse(request("/wvw/match_details.json", query: { match_id: match_id }).body) end |
.matches ⇒ Object
3 4 5 |
# File 'lib/gw2/wvw/matches.rb', line 3 def self.matches parse(request("/wvw/matches.json").body) end |
.objective_names ⇒ Object
3 4 5 |
# File 'lib/gw2/wvw/objective_names.rb', line 3 def self.objective_names parse(request("/wvw/objective_names.json").body) end |