lib/gw2/wvw.rb

Summary

Maintainability
A
0 mins
Test Coverage
module GW2
  module WvW
    extend Resource

    def self.matches
      get("/wvw/matches.json")["wvw_matches"]
    end

    def self.match_details(match_id)
      get("/wvw/match_details.json", query: { match_id: match_id })["maps"]
    end

    def self.objective_names
      get("/wvw/objective_names.json")
    end
  end
end