Class: SolidQueue::ClaimedExecution::Result

Inherits:
Struct
  • Object
show all
Defined in:
app/models/solid_queue/claimed_execution.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



8
9
10
# File 'app/models/solid_queue/claimed_execution.rb', line 8

def error
  @error
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



8
9
10
# File 'app/models/solid_queue/claimed_execution.rb', line 8

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/models/solid_queue/claimed_execution.rb', line 9

def success?
  success
end