Class: Sidekiq::BasicFetch::UnitOfWork
- Inherits:
-
Struct
- Object
- Struct
- Sidekiq::BasicFetch::UnitOfWork
- Defined in:
- lib/sidekiq/fetch.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#queue ⇒ Object
Returns the value of attribute queue.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
115 116 117 |
# File 'lib/sidekiq/fetch.rb', line 115 def @message end |
#queue ⇒ Object
Returns the value of attribute queue
115 116 117 |
# File 'lib/sidekiq/fetch.rb', line 115 def queue @queue end |
Instance Method Details
#acknowledge ⇒ Object
116 117 118 |
# File 'lib/sidekiq/fetch.rb', line 116 def acknowledge # nothing to do end |
#queue_name ⇒ Object
120 121 122 |
# File 'lib/sidekiq/fetch.rb', line 120 def queue_name queue.gsub(/.*queue:/, '') end |