Class: Asynq::Client::Result
- Inherits:
-
Struct
- Object
- Struct
- Asynq::Client::Result
- Defined in:
- lib/asynq.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#jid ⇒ Object
Returns the value of attribute jid.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
44 45 46 |
# File 'lib/asynq.rb', line 44 def error @error end |
#jid ⇒ Object
Returns the value of attribute jid
44 45 46 |
# File 'lib/asynq.rb', line 44 def jid @jid end |
Instance Method Details
#success? ⇒ Boolean
45 46 47 |
# File 'lib/asynq.rb', line 45 def success? error.nil? end |