Class: Appsignal::Integrations::ResqueHelpers

Inherits:
Object
  • Object
show all
Defined in:
lib/appsignal/integrations/resque.rb

Class Method Summary collapse

Class Method Details

.arguments(payload) ⇒ Object



38
39
40
41
42
43
44
45
# File 'lib/appsignal/integrations/resque.rb', line 38

def self.arguments(payload)
  case payload["class"]
  when "ActiveJob::QueueAdapters::ResqueAdapter::JobWrapper"
    nil # Set in the ActiveJob integration
  else
    payload["args"]
  end
end