Class: RailsLiveDashboard::Job

Inherits:
Entry show all
Defined in:
app/models/rails_live_dashboard/job.rb

Instance Method Summary collapse

Instance Method Details

#discarted?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'app/models/rails_live_dashboard/job.rb', line 11

def discarted?
  content.status == 'discarted'
end

#performed?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/models/rails_live_dashboard/job.rb', line 7

def performed?
  content.status == 'performed'
end