Class: RailsLiveDashboard::Job
- Inherits:
-
Entry
- Object
- ActiveRecord::Base
- ApplicationRecord
- Entry
- RailsLiveDashboard::Job
- Defined in:
- app/models/rails_live_dashboard/job.rb
Instance Method Summary collapse
Instance Method Details
#discarted? ⇒ Boolean
11 12 13 |
# File 'app/models/rails_live_dashboard/job.rb', line 11 def discarted? content.status == 'discarted' end |
#performed? ⇒ Boolean
7 8 9 |
# File 'app/models/rails_live_dashboard/job.rb', line 7 def performed? content.status == 'performed' end |