Sha256: 5a6e92a154cc6cc1d2de6411ab857f981830310be7a06cdf699b1d3078e3b630
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true require 'delayed_job' module Delayed module Workless module Scaler class Base def self.jobs Delayed::Job.where(failed_at: nil) end end module HerokuClient def client @client ||= ::PlatformAPI.connect(ENV['WORKLESS_API_KEY']) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems