Class: CI::Queue::Redis::UnresolvedEntry
- Inherits:
-
Struct
- Object
- Struct
- CI::Queue::Redis::UnresolvedEntry
- Defined in:
- lib/ci/queue/redis/worker.rb
Overview
Minimal wrapper returned by resolve_entry when neither @index nor entry_resolver is available. Provides the interface callers expect (.id, .queue_entry) so that downstream code doesn’t crash with NoMethodError on a raw String.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#queue_entry ⇒ Object
Returns the value of attribute queue_entry.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
19 20 21 |
# File 'lib/ci/queue/redis/worker.rb', line 19 def id @id end |
#queue_entry ⇒ Object
Returns the value of attribute queue_entry
19 20 21 |
# File 'lib/ci/queue/redis/worker.rb', line 19 def queue_entry @queue_entry end |