Class: AcidicJob::Entry

Inherits:
Record
  • Object
show all
Defined in:
app/models/acidic_job/entry.rb

Instance Method Summary collapse

Instance Method Details

#errored?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/models/acidic_job/entry.rb', line 15

def errored?
  action == "errored"
end

#started?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/models/acidic_job/entry.rb', line 7

def started?
  action == "started"
end

#succeeded?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'app/models/acidic_job/entry.rb', line 11

def succeeded?
  action == "succeeded"
end