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