Class: Webhooks::Outgoing::GenerateJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/webhooks/outgoing/generate_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(obj, action, api_versions = [1]) ⇒ Object

‘= [1]` ensures backwards compatibility for older installations when they upgrade.



5
6
7
# File 'app/jobs/webhooks/outgoing/generate_job.rb', line 5

def perform(obj, action, api_versions = [1])
  obj.generate_webhook_perform(action, api_versions)
end