Class: RSpec::Sidekiq::NamedQueues::NullSet::Entry
- Inherits:
-
Object
- Object
- RSpec::Sidekiq::NamedQueues::NullSet::Entry
- Defined in:
- lib/rspec/sidekiq/named_queues/null_set.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
readonly
Returns the value of attribute item.
Instance Method Summary collapse
- #args ⇒ Object
- #error_class ⇒ Object
- #error_message ⇒ Object
- #failed_at ⇒ Object
-
#initialize(item) ⇒ Entry
constructor
A new instance of Entry.
- #klass ⇒ Object
- #retry_count ⇒ Object
- #wrapped ⇒ Object
Constructor Details
#initialize(item) ⇒ Entry
Returns a new instance of Entry.
37 38 39 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 37 def initialize(item) @item = item end |
Instance Attribute Details
#item ⇒ Object (readonly)
Returns the value of attribute item.
35 36 37 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 35 def item @item end |
Instance Method Details
#args ⇒ Object
49 50 51 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 49 def args item["args"] end |
#error_class ⇒ Object
57 58 59 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 57 def error_class item["error_class"] end |
#error_message ⇒ Object
53 54 55 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 53 def item["error_message"] end |
#failed_at ⇒ Object
65 66 67 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 65 def failed_at item["failed_at"] end |
#klass ⇒ Object
41 42 43 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 41 def klass item["class"] end |
#retry_count ⇒ Object
61 62 63 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 61 def retry_count item["retry_count"] end |
#wrapped ⇒ Object
45 46 47 |
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 45 def wrapped item["wrapped"] end |