Class: UffizziCore::Deployment::CreateWebhooksJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/uffizzi_core/deployment/create_webhooks_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(id) ⇒ Object



6
7
8
9
10
11
12
# File 'app/jobs/uffizzi_core/deployment/create_webhooks_job.rb', line 6

def perform(id)
  Rails.logger.info("DEPLOYMENT_PROCESS deployment_id=#{id} CreateWebhooksJob")

  deployment = UffizziCore::Deployment.find(id)

  UffizziCore::DeploymentService.create_webhooks(deployment)
end