lib/halo-api/modules/metadata/halo5/game_variant.rb in halo-api-0.2.0 vs lib/halo-api/modules/metadata/halo5/game_variant.rb in halo-api-0.2.1
- old
+ new
@@ -1,15 +1,15 @@
module Halo
module Metadata
module Halo5
- class GameVariant < Halo::APIResponse
+ class GameVariant < APIResponse
def initialize(options = {})
super(options)
end
def find(id, options = {})
- get_data("#{@endpoint}/game-variants/#{id}", options)
+ get_data("/game-variants/#{id}", options)
end
end
end
end