Class: RSpec::Sidekiq::NamedQueues::NullSet::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/sidekiq/named_queues/null_set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#itemObject (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

#argsObject



49
50
51
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 49

def args
  item["args"]
end

#error_classObject



57
58
59
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 57

def error_class
  item["error_class"]
end

#error_messageObject



53
54
55
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 53

def error_message
  item["error_message"]
end

#failed_atObject



65
66
67
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 65

def failed_at
  item["failed_at"]
end

#klassObject



41
42
43
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 41

def klass
  item["class"]
end

#retry_countObject



61
62
63
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 61

def retry_count
  item["retry_count"]
end

#wrappedObject



45
46
47
# File 'lib/rspec/sidekiq/named_queues/null_set.rb', line 45

def wrapped
  item["wrapped"]
end