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

- old
+ new

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