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
127 128 129 |
# File 'lib/sidekiq/fetch.rb', line 127 def @message end |
#queue ⇒ Object
Returns the value of attribute queue
127 128 129 |
# File 'lib/sidekiq/fetch.rb', line 127 def queue @queue end |
Instance Method Details
#acknowledge ⇒ Object
128 129 130 |
# File 'lib/sidekiq/fetch.rb', line 128 def acknowledge # nothing to do end |
#queue_name ⇒ Object
132 133 134 |
# File 'lib/sidekiq/fetch.rb', line 132 def queue_name queue.gsub(/.*queue:/, '') end |