Class: Appsignal::Integrations::ResqueHelpers Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.arguments(payload) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



30
31
32
33
34
35
36
37
# File 'lib/appsignal/integrations/resque.rb', line 30

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