lib/halo-api/modules/stats/halo5/match_events.rb in halo-api-0.2.0 vs lib/halo-api/modules/stats/halo5/match_events.rb in halo-api-0.2.1
- old
+ new
@@ -1,15 +1,15 @@
module Halo
module Stats
module Halo5
- class MatchEvents < Halo::APIResponse
+ class MatchEvents < APIResponse
def initialize(options = {})
super(options)
end
def find(match_id, options = {})
- get_data("#{@endpoint}/matches/#{match_id}/events", options)
+ get_data("/matches/#{match_id}/events", options)
end
end
end
end