Module: Delayed::Workless::Scaler::HerokuClient

Included in:
Heroku, HerokuCedar
Defined in:
lib/workless/scalers/base.rb

Instance Method Summary collapse

Instance Method Details

#clientObject



52
53
54
# File 'lib/workless/scalers/base.rb', line 52

def client
  @client ||= ::Heroku::Client.new(ENV['HEROKU_USER'], ENV['HEROKU_PASSWORD'])
end