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