Class: Resque::Mcp::Models::Failure
- Inherits:
-
Data
- Object
- Data
- Resque::Mcp::Models::Failure
- Defined in:
- lib/resque/mcp/models/failure.rb
Overview
One failed-job record. index is the record's mutable position in
the Redis failed list, not a stable id. failed_at/retried_at
are opaque strings. job is a Models::Job (sealed args); the
origin queue lives here, not on the job.
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#failed_at ⇒ Object
readonly
Returns the value of attribute failed_at.
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#job ⇒ Object
readonly
Returns the value of attribute job.
-
#queue ⇒ Object
readonly
Returns the value of attribute queue.
-
#retried_at ⇒ Object
readonly
Returns the value of attribute retried_at.
-
#worker ⇒ Object
readonly
Returns the value of attribute worker.
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def backtrace @backtrace end |
#error ⇒ Object (readonly)
Returns the value of attribute error
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def error @error end |
#exception ⇒ Object (readonly)
Returns the value of attribute exception
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def exception @exception end |
#failed_at ⇒ Object (readonly)
Returns the value of attribute failed_at
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def failed_at @failed_at end |
#index ⇒ Object (readonly)
Returns the value of attribute index
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def index @index end |
#job ⇒ Object (readonly)
Returns the value of attribute job
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def job @job end |
#queue ⇒ Object (readonly)
Returns the value of attribute queue
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def queue @queue end |
#retried_at ⇒ Object (readonly)
Returns the value of attribute retried_at
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def retried_at @retried_at end |
#worker ⇒ Object (readonly)
Returns the value of attribute worker
10 11 12 |
# File 'lib/resque/mcp/models/failure.rb', line 10 def worker @worker end |