Method: Delayed::Backend::Base#name

Defined in:
lib/delayed/backend/base.rb

#nameObject



49
50
51
52
53
54
55
56
57
58
# File 'lib/delayed/backend/base.rb', line 49

def name
  @name ||= begin
    payload = payload_object
    if payload.respond_to?(:display_name)
      payload.display_name
    else
      payload.class.name
    end
  end
end