Class: Sidekiq::BasicFetch::UnitOfWork
- Inherits:
-
Struct
- Object
- Struct
- Sidekiq::BasicFetch::UnitOfWork
- Defined in:
- lib/sidekiq/fetch.rb
Instance Attribute Summary collapse
-
#job ⇒ Object
Returns the value of attribute job.
-
#queue ⇒ Object
Returns the value of attribute queue.
Instance Method Summary collapse
Instance Attribute Details
#job ⇒ Object
Returns the value of attribute job
11 12 13 |
# File 'lib/sidekiq/fetch.rb', line 11 def job @job end |
#queue ⇒ Object
Returns the value of attribute queue
11 12 13 |
# File 'lib/sidekiq/fetch.rb', line 11 def queue @queue end |
Instance Method Details
#acknowledge ⇒ Object
12 13 14 |
# File 'lib/sidekiq/fetch.rb', line 12 def acknowledge # nothing to do end |
#queue_name ⇒ Object
16 17 18 |
# File 'lib/sidekiq/fetch.rb', line 16 def queue_name queue.delete_prefix("queue:") end |