lib/bugsnag/api/client/errors.rb in bugsnag-api-1.0.0 vs lib/bugsnag/api/client/errors.rb in bugsnag-api-1.0.1
- old
+ new
@@ -65,10 +65,10 @@
#
# @param error [String] A Bugsnag error
# @return [Boolean] `true` if error was deleted
# @see https://bugsnag.com/docs/api/errors#delete-an-error
def delete_error(error, options = {})
- delete "errors/#{error}", options
+ boolean_from_response :delete, "errors/#{error}", options
end
end
end
end
end