lib/fastly/client.rb in fastly-3.0.0 vs lib/fastly/client.rb in fastly-3.0.1
- old
+ new
@@ -22,13 +22,9 @@
@user = opts.fetch(:user, nil)
@debug = opts.fetch(:debug, nil)
@thread_http_client = if defined?(Concurrent::ThreadLocalVar)
Concurrent::ThreadLocalVar.new { build_http_client }
end
-
- warn("DEPRECATION WARNING: Username/password authentication is deprecated
- and will not be available starting September 2020;
- please migrate to API tokens as soon as possible.")
if api_key.nil?
fail Unauthorized, "Invalid auth credentials. Check api_key."
end