Sha256: 93e8546ad7dfb483bb7d46ed83f4cd824678b6ad286a0ec2ee128bc891bdbdc8

Contents?: true

Size: 139 Bytes

Versions: 8

Compression:

Stored size: 139 Bytes

Contents

module FlyAdmin
  class DaemonControlJob < ActiveJob::Base
    queue_as :default

    def perform(cmd)
      system(cmd)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fly_admin-0.0.8 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.7 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.6 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.5 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.4 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.3 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.2 app/jobs/fly_admin/daemon_control_job.rb
fly_admin-0.0.1 app/jobs/fly_admin/daemon_control_job.rb