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
9 10 11 |
# File 'lib/sidekiq/fetch.rb', line 9 def job @job end |
#queue ⇒ Object
Returns the value of attribute queue
9 10 11 |
# File 'lib/sidekiq/fetch.rb', line 9 def queue @queue end |
Instance Method Details
#acknowledge ⇒ Object
10 11 12 |
# File 'lib/sidekiq/fetch.rb', line 10 def acknowledge # nothing to do end |
#queue_name ⇒ Object
14 15 16 |
# File 'lib/sidekiq/fetch.rb', line 14 def queue_name queue.sub(/.*queue:/, ''.freeze) end |