lib/fastly/client.rb in fastly-3.0.1 vs lib/fastly/client.rb in fastly-3.0.2

- old
+ new

@@ -22,10 +22,10 @@ @user = opts.fetch(:user, nil) @debug = opts.fetch(:debug, nil) @thread_http_client = if defined?(Concurrent::ThreadLocalVar) Concurrent::ThreadLocalVar.new { build_http_client } end - + if api_key.nil? fail Unauthorized, "Invalid auth credentials. Check api_key." end self