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