lib/halo-api/modules/metadata/halo_wars2/leaders.rb in halo-api-0.2.0 vs lib/halo-api/modules/metadata/halo_wars2/leaders.rb in halo-api-0.2.1

- old
+ new

@@ -1,15 +1,15 @@ module Halo module Metadata module HaloWars2 - class Leaders < Halo::APIResponse + class Leaders < APIResponse def initialize(options = {}) super(options) end def all(options = {}) - get_data("#{@endpoint}/leaders", options) + get_data('/leaders', options) end end end end