lib/workless/scaler.rb in workless_revived-2.1.0.1 vs lib/workless/scaler.rb in workless_revived-2.1.0.2

- old
+ new

@@ -43,10 +43,10 @@ end end module ClassMethods def scaler - @scaler ||= if ENV.include?('HEROKU_API_KEY') + @scaler ||= if ENV.include?('WORKLESS_API_KEY') Scaler::Heroku else Scaler::Local end end