Class: Apify::Scheduler::History
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Apify::Scheduler::History
- Defined in:
- app/models/apify/scheduler/history.rb
Instance Method Summary collapse
Instance Method Details
#currently_working? ⇒ Boolean
5 6 7 |
# File 'app/models/apify/scheduler/history.rb', line 5 def currently_working? Resque.working.map{ |w| w.job['payload']['args'].last }.include? self.id end |