intercity/intercity-next

View on GitHub
app/jobs/delete_env_var_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
class DeleteEnvVarJob < ApplicationJob
  queue_as :default

  def perform(app, env_var_name)
    SshExecution.new(app.server).
      execute(command: "dokku config:unset -no-restart #{app.clean_name} #{env_var_name}")
  end
end