lib/halo-api/modules/halo5/ugc.rb in halo-api-0.4.3 vs lib/halo-api/modules/halo5/ugc.rb in halo-api-1.0.0

- old
+ new

@@ -1,9 +1,10 @@ +# frozen_string_literal: true + module Halo module Halo5 class Ugc < APIResponse - def initialize(options = {}) @player = options.delete(:player) @endpoint = "/ugc/h5/players/#{@player}" super(options) @@ -22,9 +23,8 @@ end def player_map_variants(options = {}) get_data("#{@endpoint}/mapvariants", options) end - end end end